-
Notifications
You must be signed in to change notification settings - Fork 6
Binary does nothing #1
Comments
@wise-Kaas Hi, can you provide me with more information on how you use cococo. Command, input file? |
while in derived directory |
@wise-Kaas Can you send me the |
|
Please zip the |
Sorry, was making sure we are talking about same thing, as previous Xcode versions would output in different formats. |
I downloaded the latest release from cococo from Github, ran $ xcodebuild -version |
Still got no luck. Also did not get any extension issue, just had to add executable right (those are probably to do with browser, rather than github) |
Do you get any output or error message while running/debugging? |
Don't know you guys, buy my process is taking more time than with the original xccov file from sonarqube. Even after 20 minutes building, I'm still getting the error below on all the lines analyzed:
After passing all this, when I ran the sonar-scanner with these properties: `sonar.host.url=http:https://localhost:9000/ sonar.cfamily.build-wrapper-output.bypass=true` I'm getting an error saying that:
Do you have any thoughts? How are you guys are running your coverage analysis? |
@adrianogalindo Have you used the official script provided by SonarSource? https://github.com/SonarSource/sonar-scanning-examples/blob/master/swift-coverage/swift-coverage-example/xccov-to-sonarqube-generic.sh We also get To prevent your error you should exclude other files than swift files. For cococo you can use the For sonar-scanner you can just include Swift files: |
Hi @heinzl , running the default sonarqube script: xccov-to-sonarqube-generic.sh it takes 4 minutes Running cococo it takes 18 minutes. I'm running now the solution from akoller-vs: SonarSource/sonar-scanning-examples#68 (comment) It converts the xcresult in the xcode 10 version and runs the default xccov-to-sonarqube-generic.sh. It's really fast, less than 1 minute. I added the sonar.inclusions=**/*.swift parameter in the properties file and worked like a charm. I was using sonar.exclusions for the languages that I didn't wanted, but I think I misunderstood the concept Lol. Thank you very much. |
whats wrong? how to install it correctly? @heinzl |
@varol Just download the binary from the latest release. |
thank you @heinzl but i have an error.
2020-06-15 09:59:26.418 cococo[8816:147119] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible' |
Tried both downloading the binary and building it on my machine. I run
cococo
exactly as it says in the example and it stays idle. Possible reasons?Xcode 11.3.1
The text was updated successfully, but these errors were encountered: