Clave Martin
Clave Martin

Reputation:

iPhone: Error-'this provisioning profile does not have a valid signature'?

In Developer program portal, I created a developer certificate. I registered for my iPhone deice. And registered an App ID (In App Purchase enabled). I created a provisioning profile using the created certificate and app id details. I followed the procedure that Apple said and created it.

I downloaded the provisioning profile and installed on Xcode and on the device.

I tried to install my application on my jailbroken iPhone device( i did jailbroken already) using the provisioning profile which i downloaded, but it throws an error as 'this provisioning profile does not have a valid signature or it has a valid but untrusted signature(or it has a valid but untrusted signature)'.

Can some one advise me what is wrong here and how to resolve it?

NOT YET RESOLVED WITH THE SUGGESTIONS PROVIDED UPTO NOW. ANY HELP PLEASE?

Martin/

Upvotes: 0

Views: 5788

Answers (3)

rpitting
rpitting

Reputation: 3329

I had the very same issue although I set up provisioning, entitlements etc. correctly.

One cause of the error is described in http://www.onidev.com/2010/01/12/the-application-does-not-have-a-valid-signature/

Certain folder names may not be used in your app bundle. Check especially your "Copy files" build phases.

It seems this correlates with typical Apple app bundle names.

Unallowed folder names include (but are probably not limited to):

  • resources
  • contents

Renaming my folder from contents to myContents solved the problem for me.

Upvotes: 3

slf
slf

Reputation: 22767

Not only do you have to add your own certificate (iPhone Developer: Johny Appleseed) you must also add Apple's Certificate Assigning Authority to your local keychain as well.

EDIT:

The certificate section in the program portal has the following info:

Downloading and Installing Development Certificates In the ‘Certificates’ > ’Distribution’ section of the Portal, control-click the WWDR Intermediate Certificate link and select “Saved Linked File to Downloads” to initiate download of the certificate. On your local machine, double-click the WWDR Intermediate certificate to launch Keychain Access and install. Upon CSR approval, Team Members and Team Admins can download their certificates via the ‘Certificates’ section of the Program Portal. Click ‘Download’ next to the certificate name to download your iPhone Development Certificate to your local machine. On your local machine, double-click the downloaded .cer file to launch Keychain Access and install your certificate. Team Members can only download their own iPhone Development Certificates. Team Admins have the authority to download the public certificates of all of their Team Members. Apple never receives the private key for a CSR. The private keys are not available to anyone except the original key pair creator and are stored in the system keychain of that Team Member.

The certificate assigning authority should be something like applewwdrca.cer, there are screen shots and more info in the "How To" section.

EDIT 2:

Read through this Provisioning HowTo carefully (as well as the other HowTo tabs in the program portal), provisioning is a pain in the ass tedious process, if this documentation does not fix your problem then you need to burn one of your free support cards and call Apple because there is a problem with your particular machine. You should have gotten 2 of those support requests when you entered the program, if you used them all you can buy more.

Upvotes: 0

MrMage
MrMage

Reputation: 7487

Did you add the developer certificate and the corresponding private key to your keychain?

Upvotes: 1

Related Questions