Xcode "failed with exit code 1" Nightmare
Jel
Member Posts: 319
I consider myself fairly savvy with Xcode and GS Viewer install with the multiple times I've done it but this is really getting to me.
I've reinstalled GSV on my iPhone 4 without a problem but trying to reinstall it on a 1st gen iPod Touch running 3.1.3 is proving to be a nightmare.
I've doubled, tripled... checked everything ,Code Signing, Device, Release, Any iOS Device, iOS Deployment Target 3.1.3 but I keep getting the same error "Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 failed with exit code 1"
I've reinstalled GSV on my iPhone 4 without a problem but trying to reinstall it on a 1st gen iPod Touch running 3.1.3 is proving to be a nightmare.
I've doubled, tripled... checked everything ,Code Signing, Device, Release, Any iOS Device, iOS Deployment Target 3.1.3 but I keep getting the same error "Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 failed with exit code 1"
Comments
The whole error output is ->
Ld "build/GameSalad Viewer.build/Release-iphoneos/GameSalad Viewer.build/Objects-normal/armv6/GameSalad Viewer" normal armv6
cd /Users/MacBookPro/Downloads/iphone-viewer-0.8.9
setenv IPHONEOS_DEPLOYMENT_TARGET 3.1.3
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk -L/Users/MacBookPro/Downloads/iphone-viewer-0.8.9/build/Release-iphoneos -L/Users/MacBookPro/Downloads/iphone-viewer-0.8.9 -L/Users/MacBookPro/Downloads/iphone-viewer-0.8.9/../../trunk/player/iphone-common -F/Users/MacBookPro/Downloads/iphone-viewer-0.8.9/build/Release-iphoneos -filelist "/Users/MacBookPro/Downloads/iphone-viewer-0.8.9/build/GameSalad Viewer.build/Release-iphoneos/GameSalad Viewer.build/Objects-normal/armv6/GameSalad Viewer.LinkFileList" -dead_strip -miphoneos-version-min=3.1.3 -lGameSaladViewer -framework CoreLocation -lsqlite3.0 -framework SystemConfiguration -framework AVFoundation -framework QuartzCore -framework CoreGraphics -framework OpenGLES -framework UIKit -framework Foundation -lxml2 -lz -framework OpenAL -framework AudioToolbox -weak_framework iAd -o "/Users/MacBookPro/Downloads/iphone-viewer-0.8.9/build/GameSalad Viewer.build/Release-iphoneos/GameSalad Viewer.build/Objects-normal/armv6/GameSalad Viewer"
ld: warning: directory '/Users/MacBookPro/Downloads/iphone-viewer-0.8.9/../../trunk/player/iphone-common' following -L not found
ld: framework not found iAd
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 failed with exit code 1
Let me know if that's the case k?
And you're installing the correct viewer, the latest one from GS too right?
Pretty annoying but mostly because Apple won't allow 1st iPod Touch 's to be updated passed 3.1.3 for some unknown reason except to Apple ( probably because they want to sell more units ).