Fixing file 'project.pch' has been modified since the precompiled header was built error in Xcode

user1542348 picture user1542348 · Feb 10, 2013 · Viewed 39.6k times · Source

I was recently working on my application messing around in the info.plist section, and since that my application will not run on my test device:

file 'project.pch' has been modified since the precompiled header was built

Something to note is that the app runs fine in the simulator.


Edit: Now I am getting this error instead of the other one:

No such file or directory (/Users/Me/Library/Developer/Xcode/DerivedData/MyProject-abcdefghijklmnopqrstuvwxyz/Build/Products/Debug-iphoneos/MyApp./MyApp)

No such file or directory error

How to regenerate the info.plist file?

Answer

HexAndBugs picture HexAndBugs · Feb 11, 2013

You could try a deep clean (not the same as Product > Clean) - Option+Command+Shift+K

Note: this means the clean the build folder (by pressing Option + Product -> clean folder)