Need help setting up Gameviewer in Xcode4

kapserkapser Member Posts: 458
edited November -1 in Working with GS (Mac)
Hey,

I've been following TSB's tutorial, but in Xcode, once I set my Code Signing developper ID in Gameviewer Project, I then click Targets GameSalad Viewer and I see no section for Code signing. My Xcode also seem to be missing a few categories, like build options.

Then, why I try making a build it just says Build Failed.

Does this give any hints to someone that could tell me where I did something wrong? I have a pretty old 3.1.3 itouch but someone told me that he used the same ios and it worked fine. Do I need wifi connection or simply connecting the itouch with a cable is fine?

Any help would be greatly appreciated.

edit: I just figured out Xcode points me the problem: [BEROR]CodeSign error: Certificate identity 'iPhone Developer: Maxime Binette (556F5269G8)' appears more than once in the keychain. The codesign tool requires there only be one.

I'm a bit noob, what exactly is the keychain? I can't delete profiles in the Provisionning portal certificates, is this a problem in Xcode, or in the certificates on my computer or in the developper apple page?

Comments

  • kapserkapser Member Posts: 458
    Yeah, I was watching the old tutorial last time so I was a bit confused, now I re-did everything by following your new video.

    I seem to have too many certificates in the Keychains, and I'm a bit confused of how to fix this.
  • kapserkapser Member Posts: 458
    WOW I found the problem! It was because I did not delete my old keychain expired access!

    But now Xcode came with a lot of new issues. Oh god this is hard :)

    I get some issues looking like: Cannot find directory and in points to the line: #include_next <stdarg.h>
    Any ideas?

    And:
    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

    I don't have iAd, wonder why it talks about that...

    edit: the only build I managed to run is the iphone simulator. Does this emulate well how it would work on the device??
  • TokuharaTokuhara Member Posts: 94
    In "IOS Deployment Target" choose version 3.0, maybe thats why you are getting iAd error...
  • kapserkapser Member Posts: 458
    Yes it's on 3.0 but maybe it should be 3.1.3..

    Could it be because my mac is in french? so /Users/madeleineleduc/Library/Keychains/login.keychain should be in french or something?

    edit: nevermind probably not that XD

    question: what is "mw_stdarg.h"? It can't find that directory and seem to be the file missing when trying to run in overiding base SDK.
  • kapserkapser Member Posts: 458
    Don't know why I can't edit last post again and I don't know how to fix topic title to fixed, but I FINALLY SOLVED MY PROBLEM! I can't connect to GameSalad but I guess it's because I need to be on an internet connection, which I didn't know.

    Now hopefully my game will run well on the device :)
  • theprothepro Member Posts: 7
    The same error FIXED!!

    XCode: 4.0.2, GameSalad: 0.9.4

    I had the exact same error:

    -----
    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
    -----

    After checking the device, I deleted some of the 'expired' provisioning profiles from Organizer.. Renewed them from Apple Dev site and re-added them back into the device using Organizer.

    After that it built fine!
Sign In or Register to comment.