I’m playing with Cursor for the first time (so far awesome!). My intent is to write Swift to build an app on macOS. At this moment, I still rely on the build function in Xcode, so I have both editors open and use Cursor only for chatting on top of the code base. However, I am afraid to hit “apply suggestions” and save.
Can I somehow build my Swift app without Xcode, ideally in Cursor?
If not, is it safe to save in one editor (Cursor) and continue in another (Xcode)? I use Git for versioning as well, so I don’t want to mess it up.
I came here wondering the same, and you have the only thread with no replies. My findings are still no, you are going to be copying from Cursor and pasting into Xcode. It works fine for smaller projects but would be awesome to have some easier way to integrate.
For those wondering I have found Apple’s GenAI for Xcode to be useless so far.
Building with Cursor / VSCode is possible but the setup is a bit tricky.
But using Cursor & VSCode concurrently actually works really well.
Here is my work flow:
Create a project in Xcode
Open it in Cursor
Index it in Cursor (top right corner there is a gears button and you can find indexing there)
Do your edits in Cursor leveraging Cursor Compose or chat. Apply / save changes.
Refresh Xcode and the changes will be picked up.
The key points to remember are: (a) make sure the code is indexed in Cursor and (b) refresh both Cursor and Xcode as needed to make sure files are in sync.