A valid provisioning profile for this executable was not found. Can't add built app to iPhone

I am getting "A valid provisioning profile for this executable was not found" error when dragging my built app to the Xcode Organizer.

This is what I got from the builder:

Your application cannot be uploaded to the App Store until it passes Apple's validation tests, though you may install it directly to provisioned devices.

1
2
3
4
5
6
Executable=/Users/komirad/Desktop/Bounce.app/Bounce
codesign_wrapper-0.7.10: using Apple CA for profile evaluation
Disallowed signer
AssertMacros: cms_verify(signature, code_directory, certificates),  file: codesign_wrapper.c, line: 778
AssertMacros: verify_code_signatures(code_signatures, certificates),  file: codesign_wrapper.c, line: 946
 - (null)

Ok now i am getting this error from the builder:

1
2
3
4
5
6
7
8
9
Failed to extract requirements data: 1
/Users/komirad/Desktop/Bounce.app: invalid signature (code or signature have been modified)
failed to extract entitlements: 1
AssertMacros: entitlements_requested, At least need an application-identifier entitlements file: codesign_wrapper.c, line: 880
 - (null)
 
warning: Unable to extract codesigning entitlements from your application.  Please make sure Bounce is a valid Mach executable that's properly codesigned. (-19050)
/Users/komirad/Desktop/Bounce.app/Bounce: invalid signature (code or signature have been modified)
 - (null)

When you look in Xcode under provisioning profiles and select the one for your app, do you see any warnings? (Red or yellow icons?)

Secondly, do you have your certificates set up in Keychain Access?

The first time can be a bit of a pain - so can later times, truth be told. I had to redo my certificates today after a similar error. (They'd expired.)

Let me know and I'll see what advice I can share :)

oops double post

Nope, no warnings

http://i.imgur.com/VizUX.png

Is it different for OS Lion?

Ah Lion - there are still some issues with Lion I believe; http://developer.anscamobile.com/forum/2011/07/13/will-corona-work-os-x-lion

Are you using a stable version of Xcode? Or a BETA?

It might be worth running through this just to make sure you did every step PERFECTLY - the first time around it's easy to miss something; http://developer.anscamobile.com/forum/2011/07/29/certificate-provisioning-app-submission-and-other-newbie-nightmares-tutorial

Let me know if that helps :)

Peach

Although I still get a warning, I managed to run it on the iPhone.

Deleted all the certs and went through helper on the apple dev program.

views:3072 update:2011/9/28 8:56:32
corona forums © 2003-2011