Reputation: 3456
This seems to be happening deterministically.
I will add a file graphically through right clicking a group folder and selecting 'new file' or 'add file'. I will add this new file, then will get a linker error while building. After going to the project settings and adding the file to the 'compile sources' manually, Xcode will completely crash, but will still have added the file on reboot.
Has anyone else seen this bug, or know what would be happening here?
Upvotes: 1
Views: 998
Reputation: 11822
I had the same issue, but without the crash. I am adding the file, and checking the target in the inspector for that file, but it won't be listed in the 'Compile Sources' phase. I have to manually add it there. If I go back to the inspector for the file, uncheck the target, then it properly disappears from the 'Compile Sources', but again, will not come back to the 'Compile Sources' by just checking the box.
Restarting Xcode did set things back to normal.
Upvotes: 2