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
Issue with Xcode 11: many "error generated" and oclint.xml not generated #547
Comments
Same here since XCode 11 update. |
It seems it does not compile ? |
You can upgrade llvm9.0 to oclint, I just resolved this issue. |
Hi Skywancen, Thanks a lot ! So I checkout your code and I have to build oclint ? I tryed to build oclint but it seems to be very difficult and takes a long time. What script or command line I have to perform exactly ? Regards |
You should do this
If you want to use build cache, you can find |
I just made the 0.15 release, and that would resolve the Xcode incompatibility issue. |
Hi @ryuichis, I just dowloaded the 0.15 zip archive. |
@egr-ext I updated the tag just now, would you please try it again? |
OK I test, have you updated also the symlink oclint ~> oclint-0.15 ? |
So I built this morning your last zip with sources with ./make
My guess is the oclint-0.14 is wrong it should be named oclint-0.15. Here is a screenshot of my build directory: |
Now, you can use https://github.com/oclint/oclint, checkout the branch to master, then build with ./make, the version number will be 0.15! |
@egr-ext Thank you for your patience and letting us know the issue. I have identified one more piece that needs to be updated. Could you please give it another try, and let us know if it works for you this time? |
OK I build it again. |
I confirm it is fixed |
@egr-ext that's very good to know. Thanks again for testing this along with us. |
@skywancen can you upload brew, so we can brew install oclint, to get the version 0.15, ./make takes long long long time, and often error, I am almost crazy, please help me |
@egr-ext egr-ext can you upload brew, so we can brew install oclint, to get the version 0.15, ./make takes long long long time, and often error, I am almost crazy, please help me |
@egr-ext Please upload oclint0.15 to brew so that we can incorporate the latest changes otherwise its give following warning when you run a command on terminal. |
any update on this? |
@cocoay |
It's work! thks |
Issue Summary
After I upgraded to Xcode 11, oclint is crashing:
The report is not generated.
Environment
Operation system name and version:
macOS Mojave 10.14.6 and Xcode 11.0
OCLint version:
LLVM (http://llvm.org/):
LLVM version 5.0.1
Optimized build.
Default target: x86_64-apple-darwin18.7.0
Host CPU: skylake
OCLint (http://oclint.org/):
OCLint version 0.13.1.
Built Feb 6 2018 (09:25:36).
How OCLint is installed: local build? prebuilt binary downloaded from github? homebrew install? others?
Manually installed after being downloaded from github (also tested with homebrew installation too)
Reproduction Steps
Launch following command line:
$ oclint -report-type=pmd -o=sonar-reports/oclint.xml -rc=LONG_LINE=200 -rc=LONG_METHOD=200 -max-priority-1=9999 -max-priority-2=9999 -max-priority-3=9999 -allow-duplicated-violations -p sonar-reports -extra-arg -Wno-everything "* all source code files"
The text was updated successfully, but these errors were encountered: