-
Notifications
You must be signed in to change notification settings - Fork 206
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
oclint.xml not found.! #91
Comments
having same issue here |
hi,What error you are getting ?i resolved my issues. |
Hi, i am getting same error: link:http://stackoverflow.com/questions/33040509/error-processing-oclint-xml-on-jenkins |
Do onething. => xcodebuild clean build CODE_SIGN_IDENTITY=" " CODE_SIGNING_REQUIRED=NO > xcodebuild.log => oclint-xcodebuild -output compile_commands.json xcodebuild.log => oclint-json-compilation-database -- -max-priority-1 99999 -max-priority-2 99999 -max-priority-3 99999 -report-type pmd -o oclint.xml let me know which are the files you are getting . |
after executing: I will do a clean setup of the project and will try your suggestion though |
did you get xcodebuild.log file ?? |
yeap i do get it. I tried proceeding further by executing second line and it generated compile_commands.json. However after i executed the third one it started to generate something(ex: 23 errors generated, 2 errors generated...) but it didn't generate oclint.xml report file |
try this |
nope it won't generate oclint.xml file |
you got xcodebuild.log and compile_commands.json files ,huh ? |
yeah i got them but not oclint.xml |
did you have OClint installed in your pc ?? |
yeah ofc Oclint 0.8.1. fyi: Installed it with brew |
installed using these commands ??
|
nope, i installed through gist link provided: |
i hope it is an error of your current oclint.can you try to install using abouve commands ? |
Installed and tried but it still won't generate clint.xml. Can it be related with cocoa framework? Project i am trying to analyse is using Cocoa Framework? |
can you share the compile_commands.json file ? |
Oclint.xml has been created after some tries. Ill try to analyze and update you with info |
It is Reporting 0 violations now. Oclint.xml file is not being populated probably somehow. No violations are shown in Sonar. |
I am using objective-c plugin from github in sonar.In my project directory sonar-report/oclint is not created, when i executing sonar-runner. So that in sonar no violations listed. But when i manually executing commands like
xcodebuild clean build > xcodebuild.log
oclint-xcodebuild
oclint-json-compilation-database -- -report-type pmd -o oclint.xml
i got oclint.xml. then i created a sonar-report folder in project directory and pasted oclint.xml. Then i got violations listed in my sonar. why file not found exception occures ? why no folder created ? how can i execute above three commands to generate oclint.xml ? wher to add those commands? please give your valuable suggestions.
The text was updated successfully, but these errors were encountered: