I had some files that I removed from my project. They don't show up anywhere when I grep the directory for files or the text inside of the files in my source but when I build my project it reports missing files as warnings. Cleaning and restarting the Xcode does not 开发者_如何学Pythonhelp.
Any ideas on where to look?
it seems like the issue was related to the files being added but not committed to my svn repository. when i removed them from being added the warning went away.
Check out this post for how to get this warning to go away: Missing file warnings showing up after upgrade to XCode 4
just check if Delete an unreferenced image from repository in Xcode can help;
try to delete the app and rebuild.
Got this error in xcode 8.0 with a git repository. Wanted to split code into a different file - so duplicated the file, added it to the project and then removed most code from the original file. At this point XCode showed an 'i' (missing file) in the project navigator but compiling the project works fine. You can't commit with xcode however since it will show the "missing" file as non-existent in the commit-dialog (even though it is clearly there, selectable and editable in the project navigator).
Easy fix was to just commit all changes externally with sourcetree. The moment it was committed, everything worked fine again in xcode.
精彩评论