Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Missing File" warning in Xcode 5 & 6 in iOS

Tags:

ios

I am working with Xcode 6. I am creating new project & adding some files in my project, again i deleted that file with "Remove Reference" click and adding some new files according to my requirement. But when i run this App in Xcode 5 then its showing 2 warning with "Missing File" but if i run with Xcode 6 then its showing so many warning.

How Can i resolve this warning.

I share my screenshot how i deleted file.

enter image description here

This is my warning image

I googled but i got all answer with SVN but i am not using svn and my project also not in SVN server. So without SVN how can i resolve this.

Please help me.

enter image description here

like image 956
Soumya Ranjan Avatar asked Nov 12 '14 09:11

Soumya Ranjan


4 Answers

Run the shell script below in your SVN repositories path:

for missingFile in $(svn status | sed -e '/^!/!d' -e 's/^!//')
do
      echo $missingFile
      svn rm --force $missingFile
done
like image 169
Stephen Zhang Avatar answered Nov 18 '22 08:11

Stephen Zhang


I can resolve these Missing File warnings just by doing an SVN update (Source Control -> Update), typically after a Commit.

like image 6
Derek Williams Avatar answered Nov 18 '22 07:11

Derek Williams


Go to Project Folder then right Click on it enter image description here

then Delete the XCUserda

enter image description here

like image 4
Suresh Thoutam Avatar answered Nov 18 '22 07:11

Suresh Thoutam


Xcode's source control was the culprit for 546 "missing files" warnings on any new project I created. Somehow it searches for the files of other projects I have in a remote SVN server.

In Xcode preferences, source control, I disable it entirely. Now I can create new projects without receiving missing files warnings.

Xcode's source control seems not to work so well, or at least it's not so clear about the way it does things, so I prefer external options to manage my repositories.

like image 4
Rodrigo Pinto Avatar answered Nov 18 '22 08:11

Rodrigo Pinto