Xcode "failed with exit code 1" Nightmare

JelJel Member Posts: 319
edited November -1 in Working with GS (Mac)
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"

Comments

  • butterbeanbutterbean Member Posts: 4,315
    I've had that error before too and corrected it, but is there anything else that the message says if you click on it?
  • JelJel Member Posts: 319
    Thanks butterbean for your response.

    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
  • butterbeanbutterbean Member Posts: 4,315
    I think I may have seen that error before, and it could be that you don't have the latest version of Xcode to compile the viewer or app with GS 0.89 so make sure you have updated the xcode software.

    Let me know if that's the case k?
  • JelJel Member Posts: 319
    I have Xcode 3.2.4 but I'm downloading again and going to do a re-install. I'm assuming I should backup the 3.1.3 SDK folder as this will over written ?
  • nulonulo Member Posts: 315
    let us know if you get this fixed. i am having the same problem. just gave up after many tries and reinstalls. now, i'm just making a AdHoc version every time I need to test the game.
  • butterbeanbutterbean Member Posts: 4,315
    Hmmmm, if you have the latest version of xcode, then the problem could be with your certificates. Do you have both a developer and a distributor certificate in your keychain? Certificates sometimes bring up strange errors too...

    And you're installing the correct viewer, the latest one from GS too right?
  • RickyRicky Member Posts: 58
    Can someone tell me how I am to get hold of this "Game Salad Viewer"?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Ricky said:
    Can someone tell me how I am to get hold of this "Game Salad Viewer"?

    If you have a paid gs account all you do is click manage profile at the top and its there.
  • RickyRicky Member Posts: 58
    JohnPapiomitis said:
    If you have a paid gs account all you do is click manage profile at the top and its there.

    Oh okay. I will be getting the express as soon as it is released, I really need to see what my game will be like on the iphone before I work any further on it.
  • JelJel Member Posts: 319
    After trying for hours to fix the about issue it with the hope that GSV 0.9 might fix it, it now turns out that "Works on all iOS devices Devices must be running iOS 3.2 or higher" as show in the GSV download tab.

    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 ).
Sign In or Register to comment.