I have tried many things but the new code files and folders I create in the cursor do not appear automatically in Xcode. I copy and paste manually. Does anyone know how I can automate this?
There’s no need to automate this, it should just work.
I use Xcode with Cursor daily, when I create a folder in Cursor it appears in Xcode, and vice versa. Xcode is just reading what’s on the HD.
I know this is rudimentary, but have to ask are you sure both Xcode and Cursor are pointed to the exact same folder?
If you create a folder in Finder somewhere in your project structure, does it show up in Xcode - same for Cursor?
Are you using maybe a network drive or something? I’m afraid I’ve never had this issue… ![]()
Hey I am facing the same issue where Xcode does not automatically create code files and folders created by the cursor. Did you end up resolving the issues or finding ways around it. if so please share.
Hey, give this article a read and let me know if it helps!
It doesn’t work. Any updates made in Cursor do not happen in xcode
What about using Automator? Ask Claude to write you an Automator script that will watch the project folder for new files and folder changes and touch the Xcode project file to force Xcode to refresh? Just an idea… that sounds super annoying.