Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

sreeneel opened this issue Jun 23, 2015 · 5 comments

Comments

@sreeneel
Copy link

@sreeneel sreeneel commented Jun 23, 2015

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
Copy link

@fangmobile fangmobile commented Jun 24, 2015

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

@martinoluca
Copy link
Contributor

@martinoluca martinoluca commented Jul 6, 2015

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
Copy link
Contributor

@jvillard jvillard commented Aug 26, 2015

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

@fangmobile
Copy link

@fangmobile fangmobile commented Aug 27, 2015

yes!
I am wondering should

GCC_PRECOMPILE_PREFIX_HEADER=NO

be default?

@jvillard
Copy link
Contributor

@jvillard jvillard commented Aug 27, 2015

Good question. @martinoluca, what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.