Hoping someone out there has built an iOS application. I am starting to think the only ones that have built an app are the YouTube influencers. When I try then there are problems with referencing classes in different files and problems importing the packages. Has anyone figured out how to resolve these VSCODE problems.
I have used cursor to build an apple watch app which is now on the market.
Did you start the project in Xcode first?
iOS is definitely doable, it takes a lot of copying/pasting errors from xcode into cursor, then letting the AI do its thing, then re-running in xcode, etc.
I have many cases where I get the message that it cannot find another class, and no amount of changes that Cursor makes have been able to help me with this.
Are you training in Docs in the Settings/Features page or from the composer, adding to the Rules for AI section in the Settings/General page, using @Codebase when needed, and specifying in your prompts what to edit etc? You need to do all these things to get the best out of Cursor, then she flies lol. I found it fine in Xcode, right click a few errors in Xcode terminal and paste back in to composer, it does well.
I’ve built and shipped a couple iOS apps that are live in the app store using Cursor. I do use Xcode concurrently though so it’s not 100% Cursor but a lot of it is. You can absolutely build full iOS apps with it. I install Swift and swiftlint extensions.
I am able to click to jump to functions or class definitions in Cursor when I need to. But it does have issues with import modules.
I verify in Xcode and as long as it compiles I tell the agent to ignore those types of linter errors. I have a Cursor rule to “disregard import errors if the code looks correct, that it’s a limitation of vs-code” and it usually doesn’t bother to iterate on them.