-
Notifications
You must be signed in to change notification settings - Fork 491
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
updated xcode 7,got "error generated" #245
Comments
I got the same issuse |
@lqi hi, how to resolve the problem |
Also seeing this. Any ideas? |
Mac, OCLint version 0.8.1 |
I have the same issue. Also, i've tried the latest ( 0.9.dev.8553ad2) build, and i got "LLVM ERROR: unknown module format" |
@thelvis4 I am working on a fix for it. And could you help me verify one thing: open your compile_commands.json file, search texts for |
@ryuichisaito6 that got rid of the errors generated at the top, however, it may be a separate issue, but I still see errors after:
|
@RogerGan Building oclint requires you to clone the git repo, instead of downloading it as a zip/tar archive. |
@ryuichisaito6 It was enough to just delete all |
@thelvis4 I tried to understand this better, do you by any chance know what |
@ryuichisaito6 I googled for them a little and i found nothing. The only thing I found was in clang's help:
|
@ryuichisaito6 This option is part of the |
@ryuichisaito6 If i build 0.9dev,can i solve the "updated xcode 7 problem"? |
@RogerGan Yes, you can bypass the problem by adding |
@thelvis4 error msg: |
坑爹啊 |
@thelvis4 i can't find "CLANG_ENABLE_MODULE_DEBUGGING=NO" in xcodebuild parameters,but in xcode project config; |
@RogerGan If you make the build using You said that after setting |
Hi! xctool with the CLANG_ENABLE_MODULE_DEBUGGING=NO build has worked |
Same issue here.
$ xcodebuild -scheme MyScheme -sdk iphoneos CLANG_ENABLE_MODULE_DEBUGGING=NO ONLY_ACTIVE_ARCH=NO ARCHS=armv7 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO > xcodebuild.log No gmodules parameters in compile_commands.json, but fmodules are found and error happens. |
@telmopmota It only works if you build |
Hi @thelvis4, $ git clone https://github.com/oclint/oclint.git I did not figure out the reason for the error yet. :( |
@thelvis4, I did not use sudo, but we managed to get it working.
|
@telmopmota guess this is not an issue related to OCLint code, but it happens while building LLVM/Clang. Probably need to wait Clang community to apply a patch. |
An update on this: I am currently wondering if there is a way to ignore this flag at the tool level. |
Thought so @ryuichisaito6. Is it the case to change anything on oclint make scripts to address this for the time being? |
@telmopmota nothing on oclint side that we can do to address llvm/clang broken changes. However, I have been wondering to change to semantic versioning model. Once that happens, will keep the master branch goes with the most recent llvm/clang release, and let the working-in-progress code in a separate branch. @PLJNS thinking this is also the broken code from llvm/clang. |
xcode7.0 osx10.10.5
|
I think this is fixed in the latest dev build. Closing this one. |
@RogerGan Has this issue been fixed for you? I have encountered the same problem, and no solutions found yet;( |
The text was updated successfully, but these errors were encountered: