Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Xcode build error

Hey, i get this error on build:


error: PCH file built from a different branch ((clang-425.0.24)) than the compiler ((clang-425.0.27))



Any ideas on how to fix?


- Thanks, Kez.

iMac, Mac OS X (10.7.5)

Posted on Apr 1, 2013 11:33 AM

Reply
Question marked as Best reply

Posted on Apr 2, 2013 4:28 AM

I had the exact same problem, but only with command line builds (xcodebuild).

So after doing some cleanups (and even Clean Build Folder (Alt key on Menu: "Product" > "Clean Build Folder...") the only thing that worked for me was:


http://stackoverflow.com/questions/7071523/xcode-4-1-fatal-error-stdlib-modified -since-the-precompiled-header-was-built#comment18214650_7072227


So, "touch" you PCH file first and retry.



Cheers,

Carlos

1 reply
Question marked as Best reply

Apr 2, 2013 4:28 AM in response to Kez323

I had the exact same problem, but only with command line builds (xcodebuild).

So after doing some cleanups (and even Clean Build Folder (Alt key on Menu: "Product" > "Clean Build Folder...") the only thing that worked for me was:


http://stackoverflow.com/questions/7071523/xcode-4-1-fatal-error-stdlib-modified -since-the-precompiled-header-was-built#comment18214650_7072227


So, "touch" you PCH file first and retry.



Cheers,

Carlos

Xcode build error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.