본문 바로가기
모바일개발(Mobile Dev)/IOS개발(ObjectC)

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

by 테크한스 2015. 1. 14.
반응형

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. I am new to the whole iOS development and Xcode so any help fixing my issue would be greatly appreciated! Something to note is that the app runs fine in the simulator. Thanks!

Edit: Now I am getting this error instead of the other one. Does anyone know how to regenerate the info.plist file?

share|improve this question
   
Similar answer on here that solved it for me (and actually explained where the PCM files are)...stackoverflow.com/a/25182895/1861181 –  Morkrom Sep 18 '14 at 18:33

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)

share|improve this answer
   
I had this happen to me, building my Mac OS X app: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/‌​SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Foundation.framework/Headers/Founda‌​tion.h' has been modified since the precompiled header was built 1 error generated. Wow! Indeed, all of the files in have a mod date of 2 days ago. Huh? I had updated to an Apple developer seed of Mac OS X, but that was about 3 hours before 10:15. flightplanner's deep clean fixed the error. Mysterious! –  Jerry Krinock Apr 22 '13 at 15:21
3 
Product > Clean worked for me. –  Robert Nov 6 '13 at 15:11
   
Worked for me, thanks! –  Mike Apr 23 '14 at 14:03
   
A straightforward clean (Product->Clean) worked for me too. –  eggboxderek Jun 17 '14 at 15:38


반응형