Well here is my new fix: for me (for some reason) the highlighted line below has changed:

I changed ${EXECUTABLE_NAME} to something else. Changing it right away did not fix the problem: I had to first click the + icon to add a new line and then delete the new line.
My application now works fine
OLD FIX:
OK, so yes, that’s true, there are other questions like this. They helped me figure out another (and unfamiliar) solution.
- I right-click on the .xcodeproj file and select "Show Package Contents"
- Then I opened "project.pbxproj"
- I copied all the text from it to another file, deleted all the text and saved
- This “crashed” my Xcode project, which I accidentally left open in Xcode.
- I closed my project and then inserted the original contents of "project.pbxproj" back into "project.pbxproj"
- I saved the project.pbxproj file and closed it
- After opening my Xcode project again, I was able to run it on my device!
For me, it does not make sense why it worked because I did not modify the files ... But it is, so cheers!
PS Make a backup copy of your project in advance, just in case.
EDIT : The mine stopped working again and I cannot use the above method to fix it ...
Max Chuquimia Apr 28 '13 at 5:17 2013-04-28 05:17
source share