I mentioned this over in the blog post for this, but we shouldn’t pollute the comments of the blog post, so I’m moving this here.
I have followed the blog post to a TEE except that I’m using an existing AppID in the provisioning portal. While all the cert/key making stuff is enough to make me cry at times, I do kind of understand it and I’m very very comfortable in the provisioning portal. I took an existing app that I want to add this too, enabled the APS for that app.
I seem to have everything correct. There is one extra step I did that isn’t documented which is to copy the provisioning profile to ~/Library/MobileDevice/Provisioning Profile/ which I do with every provisioning profile.
I then launched Corona SDK via the terminal app and told it to build against this provisioning profile and I get this error:
warning: Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate. (-19011)
Executable=/Users/rmiracle/Lua/AppBuilds/tACKY.app/tACKY
codesign\_wrapper-0.7.10: using Apple CA for profile evaluation
Now I have successfully built this app pre-push with no problems. I am using build 712. I have XCode 4.2.1 installed.
In the console log I get the following messages if it helps:
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘keychain-access-groups’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘aps-environment’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘keychain-access-groups’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘aps-environment’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘keychain-access-groups’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘aps-environment’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘keychain-access-groups’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘aps-environment’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown installd[16628] : entitlement ‘application-identifier’ has value not permitted by a provisioning profile
Dec 21 23:00:23 unknown SpringBoard[10714] : Killing com.omnigeekmedia.tacky for termination assertion
Dec 21 23:00:24 unknown installd[16628] : 00381000 verify_signer_identity: Could not copy validate signature: -402620393
Dec 21 23:00:24 unknown installd[16628] : 00381000 load_application_info: Could not load signer identity from /private/var/mobile/Applications/9914ABA9-9DAE-400A-AA3C-A0402F732186/tACKY.app/tACKY
Dec 21 23:00:24 unknown SpringBoard[10714] : Reloading application state for ‘com.omnigeekmedia.tacky’ as its modification date or path has changed
Dec 21 23:00:24 unknown SpringBoard[10714] : Reloading and rendering all application icons.
I obviously messed something up, but for the life of me I’m not sure where.
In the provisioning portal, I only have one certificate listed when making a new provisioning profile (my main certificate, which seems normal).
Any thoughts? [import]uid: 19626 topic_id: 19493 reply_id: 319493[/import]