Code Signing Error
imjustmike
Member Posts: 450
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?
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
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!
also make sure you dont have dublicate certifcates which also will generate an error.
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.
***
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!