Skip to content
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

Jenkins & test target #46

Open
AlexQuiGitHub opened this issue Jan 10, 2014 · 2 comments
Open

Jenkins & test target #46

AlexQuiGitHub opened this issue Jan 10, 2014 · 2 comments
Milestone

Comments

@AlexQuiGitHub
Copy link

Hello everyone,

When I create an empty project with a test target, and launch ./run-sonar.sh with Jenkins, I get the following error:

"'xctool -project myproject.xcodeproj -sdk iphonesimulator ARCHS=i386 VALID_ARCHS=i386 CURRENT_ARCH=i386 ONLY_ACTIVE_ARCH=NO -scheme myproject -reporter junit GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES test' failed with error code: "

If test target is commented in properties file (sonar-project.properties), it's works...

Could you help me ?

Thanks !

@AlexQuiGitHub
Copy link
Author

with -showTasks at the end of xctool command i get the following error :

"failed: The simulator failed to start, or the TEST_HOST application failed to run"

I tried -freshSimulator -freshInstall params but it does no help :-(

@cyrilpicat
Copy link
Contributor

Hello,

thanks for your report.

Could you send me your sample project, as it looks it's not confidential? You could for example create a new repo or fork the sample repo https://github.com/octo-technology/sample-sonar-objective-c and put your code in it.

Thanks,

Cyril

@cyrilpicat cyrilpicat added this to the 0.4.1 milestone Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants