Basically, in a project if more than one developer are working and one developer has added some files(it may be .h,.m or any .png) and commits the project including .xcodeProj in source control management.
But due to some reason developer removes files or images from the project and also removes the use of those files or images from the project but forgets to commit the.xcodeProj project file.
If another developer checks out from the source control management and runs the application,he would get error messge error:path file/image name:No such file or directory.
So to avoid the error to run the application at our end successfully we can follow below steps
1. Right click on projectname.xcodeproj and click on showpackagecontent.
2. There we will get another file as project.pbxproj.
3. Open that file on text edit and remove the lines where the file or image has been mentioned.
4. Save the file.
And finally run the application it will work.