Code Signing Error

For the last few hours I have been trying to sign an iPad app. I have the latest version of GS, the latest version of xcode and my provisioning profiles are up to date. And yet, every time I try to sign I get the following error message:

Code Signing Error 1: /var/folders/kp/t5q332ks15z8lg3trqnfry5r0000gn/T/GameSalad0/36/Greedy Footballer HD.app: replacing existing signature
codesign_allocate: object: /private/var/folders/kp/t5q332ks15z8lg3trqnfry5r0000gn/T/GameSalad0/36/Greedy Footballer HD.app/GreedyFootballerHD malformed object (unknown load command 45)
/var/folders/kp/t5q332ks15z8lg3trqnfry5r0000gn/T/GameSalad0/36/Greedy Footballer HD.app: object file format unrecognized, invalid, or unsuitable

Where am I going wrong? Is anyone else able to sign apps at the moment? I has successfully signed apps in the past (a few months ago) and everything worked seamlessly. I'm at a loss as to what to do next, can anyone offer any assistance?

Comments

  • kobayaashikobayaashi Member, PRO Posts: 143
    I can't offer assistance, Mike, as I'm in exactly the same boat - I was just wondering whether you found a way of sorting your problem? I've been going round and round in circles since yesterday afternoon, getting nowhere.

    All my certificates are installed, valid, etc., got my provisioning profiles... not sure where I'm going wrong. If you find a way out, I'd love to hear about it!
  • WingmanappsWingmanapps Member Posts: 458
    edited April 2013
    how about your certificates - still valid? Check your keychain
    also make sure you dont have dublicate certifcates which also will generate an error.
  • imjustmikeimjustmike Member Posts: 450
    All the certificates are valid, and there are no duplicates
  • glyniusglynius Member Posts: 231
    All the certificates are valid, and there are no duplicates
    same problem on mac publish, i removed all the certificates and reinstalled, nothing...
    question...when you sign the app through gamesalad, what provisioning profile you enter? For me, the problem is that when i sigh the app, and asked for provisioning profile, it gives me only the option "George Glynos" (my name) but not the app name.

  • kobayaashikobayaashi Member, PRO Posts: 143
    Hi, Glynius. Not sure whether this helps, but when I was having my problems, I called GS support, and received the following response from Bob - which I found extremely helpful, and which sorted out my issues :

    ***
    Thank you for contacting GameSalad Customer Support.

    Please make sure you have the most recent Xcode (4.6) installed on your
    computer. Make sure that you have "Command Line Tools" in Xcode installed as
    well.

    Next, select "Refresh" from Xcode's Organizer. This is found on under
    'Library-> Provisioning Profiles'. On the bottom right hand side of the
    organizer window select 'Refresh' and enter your credentials used when going
    to Apple's developer portal. Once completed, you can move onto the below
    steps.

    If you have completed the first steps, please move on..

    While in organizer, delete expired or invalid provisioning profiles.

    In Keychain:

    In your 'System' Keychain- open your Apple WWDR certificate and ensure its its
    marked as "System Defaults" and not "Always Trust" under the "Trust" drop
    down. Do this for ALL certificates present in your 'System' and 'Login'
    keychain.

    Make sure you do not have duplicate Certificates in your 'Login' Keychain.
    Development and Distribution Certificates should be in the 'Login' Keychain.

    Ensure all Certificates in your 'Login' have a grey arrow that exposes a
    private key

    Make sure your 'Apple WWDR', 'Software Signing' and 'Apple Code Signing
    Certificate Authority' are the only certificates in your 'System' keychain.
    Please make sure your Developer and Distribution Certificates are not in your
    'System' keychain.

    Finally, confirm that the bundle identifier used to generate the app is being
    signed with the appropriate Provisioning Profile. Example: Using a
    distribution provisioning profile and attempting to sign with a developer,
    wont work.

    To recap, In the 'Login' Keychain there should be your Distribution and
    Development Certificates without duplicates. The 'System' Keychain should have
    the following Certificates. All Certificates should 'Trust' the 'System
    Defaults'.
    'Apple WWDR'
    'Software Signing'
    'Apple Code Signing Certificate Authority'
    ***

    Good luck!

Sign In or Register to comment.