Ever since upgrading to Xcode 8 using Swift 2.3 I have several missing files warnings. They are all related to pods that I am using.
The files that are missing are
In my case Pods where checked into the repository generating a couple hundred warnings for "missing files". Fixed it by removing Pods from the repo :
git filter-branch --index-filter 'git rm --cached --ignore-unmatch Pods/*' --tag-name-filter cat -- --all
You can resolve the issue by checking "Add and Remove files automatically" option in X-Code->Preferences->Source Control
Here is the screenshot of Preferences
This fixed it for me:
git reset HEAD <path-to-deleted-file-that-was-causing-the-Xcode-warning>
I solve the problem simply by this:
Add the culprit to the project
Remove the reference
This cleans the internal state of XCode and the message goes away.
Xcode 8 seems to often miss git add
the deleted/related files. To correct it, tap Commit...
from Xcode's Source Control
menu, make sure to check these files (which are followed by an exclamation mark !), then commit the changes. This should clear the warnings.
If you dont use xcode source control but some other git client (like source tree or terminal), you can disable source control in Xcode and than warnings will disappear.
Xcode > Preferences > Source control and uncheck "Enable source control"