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
failed with error code: 6 #526
Comments
@sun6boys I get the same error , did you solve it? Thanks !! |
i get same error, someone can solve it ? Thanks!! |
@sun6boys Hi. did you resolve it. thank! |
same error |
+1 since Xcode 11 + iOS 13 |
Hi! From https://oclint-docs.readthedocs.io/en/stable/manual/oclint.html : |
Same issue ERROR - Command 'oclint-json-compilation-database failed with error code: 6 |
same here ,somebody fix it? |
In fact I didn’t solved it |
The same issue. Any updates? |
Does anybody have a solution? As per their document, code 6 is a compiler error, but my project is running successfully in Xcode. Please find the document link https://oclint-docs.readthedocs.io/en/stable/manual/oclint.html#:~:text=It%20may%20means%20the%20compiler,exit%20code%20will%20be%206. |
I'm late to this party, but wanted to reply in case it helps anybody. I encountered this trying to set up sonar swift code analysis on a build server. For me this was an M1 issue. I needed to include the command line flags to tell which architecture to run under, which needed to match what I built my iOS project with. In my case I added this prefix:
I have excluded the rest of the command above but the important part is the arch - flag at the beginning. |
Issue Summary
An error occurred while executing command
Environment
brew install oclint
Reproduction Steps
Sample code
The text was updated successfully, but these errors were encountered: