Adding new docs but getting deprecated code

Hi all

New user here so this could well be a user error.

I’m trying to created a basic iOS app, I’ve opened composer adding new docs for Apple and UI Design Dos and Don’ts - Apple Developer and then applying them to composer by using i.e. @appleSwift @appleUI @codebase

I then add my requirements but when it creates the updates to the files, it’s adding deprecated code.

Am I doing something wrong?

I am using v0.44.4

Hey,

Can you check if the documentation is correctly indexed?

You can do this by heading to the Cursor Settings page (CMD+Shift+P then search ‘Cursor Settings’), head to the Features tab, then to Docs.
Next to your docs should be a book icon that, when clicked, shows a popup with all the indexed pages.

If you don’t have many pages in there, it may be that the docs hasn’t indexed properly!

Additionally, you may want to explicitly instruct it, maybe in the “Rules for AI” section in your Cursor Settings, not to use deprecated code! Seems obvious, but LLMs see deprecated code all the time, so are quite happy to write it!