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

xctool failed with error code:1 #87

Open
AllenLii opened this issue May 11, 2015 · 7 comments
Open

xctool failed with error code:1 #87

AllenLii opened this issue May 11, 2015 · 7 comments

Comments

@AllenLii
Copy link

OS X Yosemite
Xcode 6.1
xctool 0.2.3
SonarQube 4.5.4
Plugin 0.4.0

run-sonar.sh -v:
...

** CLEAN SUCCEEDED ** (1880 ms)

  • returnValue=0
  • set +x
  • xctool -project NotifyMe.xcodeproj -sdk iphonesimulator ARCHS=i386 VALID_ARCHS=i386 CURRENT_ARCH=i386 ONLY_ACTIVE_ARCH=NO -scheme NotifyMe -reporter json-compilation-database:compile_commands.json build
  • returnValue=1
  • set +x
    ERROR - Command 'xctool -project NotifyMe.xcodeproj -sdk iphonesimulator ARCHS=i386 VALID_ARCHS=i386 CURRENT_ARCH=i386 ONLY_ACTIVE_ARCH=NO -scheme NotifyMe -reporter json-compilation-database:compile_commands.json build' failed with error code: 1
@cyupa
Copy link

cyupa commented Sep 2, 2015

If you are using Cocoapods, please run a pod install first and then run-sonar.sh

@zafarella
Copy link

same issue with

Xcode 7.2
Build version 7C68

@wangpc
Copy link

wangpc commented Mar 22, 2016

same issue and already do pod install
error still there ~

@ledwards08
Copy link

I have same problem now.
Is there any way to resolve this?
I've installed pod and my XCode version is 7.3

@NSCabezon
Copy link

Hi, I'm having the same issue here Xcode 7.3.1. Anyone got it to work?

@xiaogong-li
Copy link

have the same issue.No one kowns the solution?

@sergiobaro
Copy link

I had this problem and I fixed it adding the workspace to the sonar properties file.

sonar.objectivec.workspace=MyApp.xcworkspace
sonar.objectivec.project=MyApp.xcodeproj
sonar.objectivec.appScheme=MyApp

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

8 participants