error: PCH file uses an older PCH format that is no longer supported #96

Closed
sreeneel opened this Issue Jun 23, 2015 · 5 comments

Projects

None yet

4 participants

@sreeneel

When running infer on an iOS project, I get the following error:

error: PCH file uses an older PCH format that is no longer supported

My env:
Xcode version: 6.3.2

clang version(that comes default with Xcode):
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix

I tried compiling "infer" from scratch too, and still the same problem

@fangmobile

+1.
Xcode version 6.3.2
Did anybody else try this on this Xcode version?

@martinoluca
Contributor

Hello @sreeneel and @fangmobile,
please make sure you use the latest version of Infer, and you run the compilation with GCC_PRECOMPILE_PREFIX_HEADER=NO

@jvillard
Contributor

@sreeneel, @fangmobile did @martinoluca's suggestion solve your issue?

@fangmobile

yes!
I am wondering should

GCC_PRECOMPILE_PREFIX_HEADER=NO

be default?

@jvillard
Contributor

Good question. @martinoluca, what do you think?

@jvillard jvillard closed this Aug 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment