build fails in AppCode, works in other IDE, no real clue as to what is going on
This morning, out of the blue, my build fails error code 65. Not a clue from the logs and messages as to where to look for the 'error'.
Any suggestions ?
Attachment(s):
Screen Shot 2012-07-13 at 7.47.43 AM.png
请先登录再写评论。
Yves,
do you open xcodeproj, or xcworkspace files?
Please attach the Build Log (the button on the 'Messages' wool window's toolbar).
xcodeproj.
This got me looking in the AppCode GUI, found the console, and in there i found a clue (still does not explain why this works in Xcode) ... hmmm :
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/yvesleborg/devel/MaxPowerProject/MaxPower/Battles/Battles.xcodeproj/project.xcworkspace -scheme "Battles Lite Dev" -configuration Debug -sdk iphoneos5.0 SYMROOT=/Users/yvesleborg/Library/Caches/appCode10/DerivedData/Battles-a544448a/Build/Products OBJROOT=/Users/yvesleborg/Library/Caches/appCode10/DerivedData/Battles-a544448a/Build/Intermediates ARCHS=armv7 ONLY_ACTIVE_ARCH=NO TEST_AFTER_BUILD=NO build
Build settings from command line:
ARCHS = armv7
OBJROOT = /Users/yvesleborg/Library/Caches/appCode10/DerivedData/Battles-a544448a/Build/Intermediates
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos5.0
SYMROOT = /Users/yvesleborg/Library/Caches/appCode10/DerivedData/Battles-a544448a/Build/Products
TEST_AFTER_BUILD = NO
=== BUILD NATIVE TARGET Battles Lite OF PROJECT Battles WITH CONFIGURATION Debug ===
Check dependencies
CodeSign error: The entitlements file '/Users/yvesleborg/devel/MaxPowerProject/MaxPower/Battles/Max Power Adventures 2 Lite.entitlements' is missing
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Yves,
I've created a bug report for missing error message: http://youtrack.jetbrains.com/issue/OC-4628.
As for why it builds in Xcode - I cannot say. Please let us know if you find out.
ok, i created the .entitlements on the dark side (dont know how or whether it is feasable with AppCode 1.5.6), and that fixed the build issue. Strange, Xcode should also have failed on that dependancy. Thanks Anton.