Coming from year 2025 where vibe coding with Cursor is up. I ran into this error when the Ai agent moved some files for me. The error is caused by the conflict in project.pbxproj
. To fix, simply remove the references in XCode(delete the red filenames) and it will be fixed.