Monday, December 27, 2010

XCode, A valid provisioning profile for this executable was not found. When you try to Build and Run Ipad/Iphone App to devices

I just create one HelloIpad application in Xcode. and connect my IPAD to the PC and run the auto provisioning step to add one Device to the team provision profile managed by Xcode. all works good. When I try to build and run on the IPAD, Get the following strange error.

A valid provisioning profile for this executable was not found.

A

Then I checked the Device Console Log [ Device->console tab]

Mon Dec 27 09:38:47 DVDs-iPad installd[361] <Error>: 2ff66000 verify_signer_identity: Could not copy validate signature: -402620395
Mon Dec 27 09:38:47 DVDs-iPad installd[361] <Error>: 2ff66000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.LpTPGN/HelloIPAD.app
Mon Dec 27 09:38:47 DVDs-iPad installd[361] <Error>: 2ff66000 install_application: Could not preflight application install
Mon Dec 27 09:38:47 DVDs-iPad mobile_installation_proxy[364] <Error>: handle_install: Installation failed
Mon Dec 27 09:38:47 DVDs-iPad installd[361] <Error>: 2ff66000 handle_install: API failed
Mon Dec 27 09:38:47 DVDs-iPad installd[361] <Error>: 2ff66000 send_message: failed to send mach message of 71 bytes: 10000003
Mon Dec 27 09:38:47 DVDs-iPad installd[361] <Error>: 2ff66000 send_error: Could not send error response to client


the profile is for sure correct [ Means the profile contains the device UUID, Also you can tell from the device itself, Setting->general->profiles]
image

When you check the .app contents, the embeddedprofile is there too. that’s the same one you downloaded from dev protal.

So there are must be something wrong with the profile, what’s those potential dependency?

the answer is Certificate/Keys. I use a wrong keys/certificate to sign the application. ( that means the Cert to sigh the profile is different with the key in your keychain.)

So make sure 
>>>

the cert to create Profile is the same with your keychain. you can tell from their expiration date. otherwise, you get this annoying error.

Or just jailbreak you device, then you can install any app without have to follow the signature enforcement policy.

 
Locations of visitors to this page