sonar-objective-c icon indicating copy to clipboard operation
sonar-objective-c copied to clipboard

xctool failed with error code:1

Open AllenLii opened this issue 9 years ago • 7 comments

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

AllenLii avatar May 11 '15 04:05 AllenLii

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

cyupa avatar Sep 02 '15 10:09 cyupa

same issue with

Xcode 7.2
Build version 7C68

zafarella avatar Jan 07 '16 04:01 zafarella

same issue and already do pod install error still there ~

wangpc avatar Mar 22 '16 06:03 wangpc

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

ledwards08 avatar Apr 16 '16 03:04 ledwards08

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

NSCabezon avatar May 17 '16 15:05 NSCabezon

have the same issue.No one kowns the solution?

xiaogong-li avatar Jul 28 '16 14:07 xiaogong-li

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

sergiobaro avatar Oct 25 '16 09:10 sergiobaro