Link failure (clang failed with exit code 1) with no explanation
Link failure (clang failed with exit code 1) with no explanation
- Subject: Link failure (clang failed with exit code 1) with no explanation
- From: David Dunham <email@hidden>
- Date: Thu, 05 Apr 2012 16:31:32 -0400
Trying to build an app, and we get an error linking it. There is no explanation I can see of what the error actually is (normally I'd expect something like an unresolved symbol).
This is especially mysterious since the app was working before we checked it into Subversion and back out.
One of us is on Snow Leopard (Xcode 4.2), the other on Lion (Xcode 4.2.1).
How can we get more info from the link step?
Here's the output I got when I did just an "xcodebuild"
Ld /Users/david/Library/Caches/build/BattleOfTheBulge.build/Release-iphoneos/BattleOfTheBulge-iOS.build/Objects-normal/armv6/BattleOfTheBulge-iOS normal armv6
cd /Users/david/Shenandoah/BulgeSoftware/trunk/BattleOfTheBulge
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/Tools:/usr/local/bin:/Users/david/RogueAmoeba/trunk/scripts:"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -L/Users/david/Shenandoah/BulgeSoftware/trunk/BattleOfTheBulge/build/Release-iphoneos -L/Users/david/Shenandoah/BulgeSoftware/trunk/BattleOfTheBulge/../__Kobold2D__/libs/iSimulateSDK -L/Users/david/Shenandoah/BulgeSoftware/trunk/BattleOfTheBulge/../__Kobold2D__/libs/GoogleAdMobAdsSDK -L/Users/david/Shenandoah/BulgeSoftware/trunk/BattleOfTheBulge/../__Kobold2D__/libs/GoogleAdMobAdsSDK -F/Users/david/Shenandoah/BulgeSoftware/trunk/BattleOfTheBulge/build/Release-iphoneos -filelist /Users/david/Library/Caches/build/BattleOfTheBulge.build/Release-iphoneos/BattleOfTheBulge-iOS.build/Objects-normal/armv6/BattleOfTheBulge-iOS.LinkFileList -dead_strip -lz -framework Foundation -framework AudioToolbox -framework OpenAL -framework QuartzCore -framework SystemConfiguration -framework AVFoundation -framework CoreGraphics -framework CoreLocation -framework MediaPlayer -framework OpenGLES /Users/david/Shenandoah/BulgeSoftware/trunk/BattleOfTheBulge/../__Kobold2D__/libs/GoogleAdMobAdsSDK/libGoogleAdMobAds.a -force_load /Users/david/Shenandoah/BulgeSoftware/trunk/BattleOfTheBulge/build/Release-iphoneos/libkobold2d-ios.a -force_load /Users/david/Shenandoah/BulgeSoftware/trunk/BattleOfTheBulge/build/Release-iphoneos/libcocos2d-ios.a -weak_framework CoreMotion -weak_framework GameKit -weak_framework iAd -weak_framework MessageUI -weak_framework StoreKit -weak_framework UIKit -weak-lSystem -lstdc++ -fobjc-arc -miphoneos-version-min=5.0 -lbox2d-ios -lchipmunk-ios -lchipmunk-spacemanager-ios -lcocos2d-extensions-ios -lcocos2d-ios -lcocos3d-ios -lcocosdenshion-ios -lkobold2d-ios -lobjectal-ios -lsneakyinput-ios -o /Users/david/Library/Caches/build/BattleOfTheBulge.build/Release-iphoneos/BattleOfTheBulge-iOS.build/Objects-normal/armv6/BattleOfTheBulge-iOS
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1
** BUILD FAILED **
The following build commands failed:
Ld /Users/david/Library/Caches/build/BattleOfTheBulge.build/Release-iphoneos/BattleOfTheBulge-iOS.build/Objects-normal/armv6/BattleOfTheBulge-iOS normal armv6
(1 failure)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden