These solutions are way too difficult. The problem is that you have removed the project from filesystem but SVN still thinks they are there. Detaching project from SVN will work, the same for removing .svn folders BUT that is going to destroy your repository!
It is much easier to open console, browse to your folder ("cd /pathToYourFolder") and type the following command:
svn delete nameOfMissingFile
If the name of your missing file includes the @ character (eg: retina-specific artwork), ensure the file name terminates with the @ symbol:
svn delete [email protected]@
For GIT repositories:
git rm nameOfMissingFile
In XCode 4.2.+ (possibly in 4+) you can avoid manual work and command line :
And that's it :)
All those nasty warnings are gone!
Additionally for Xcode 6+: After selecting the file view 'middle icon' - you can click the checkbox to the left and this will mark them as deleted for SVN when you next commit!
In Xcode5 & Xcode6, below steps worked for me
Xcode
-> Preferences
-> Source Control
-> uncheck Enable Source Control
then
Xcode
-> Preferences
-> Source Control
-> check Enable Source Control
It has something to do with .svn hidden folders in your project.
I solved this issue by detaching the project from svn.
a. Open terminal and type the following commands:
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
This will allow you to view the .svn folders inside your project
b. Delete every .svn folder in your project folders/subfolders
c. Re-enable hidden files:
defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder
d. Now your project is detached from svn and you no longer get build issues.
e. Re-add your project to svn or whatever.
I'm a beginner myself and this was my way of dealing with that issue, so I'm not sure this is the best way to go. Anyway, the problem was solved.
This worked for me:
File
-> Source Control
-> Hide Working Copy Status
then
File
-> Source Control
-> Show Working Copy Status
I solved it the following way:
I had that bug and found no way to solve it other than creating an empty file on that position and then deleting it. It happened with files I had deleted from the project, and cleaning, building, deleting manually the Derived Data directory didn't work either. I believe it is a bug, and that it can be quite painful if it happens with more than a few files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With