Profiles Provisioning Profile Error "Invalid signature not found"

I have an application ready for testing on my iPad, and I created a development support profile, matched the package ID, and reduced the goal of deploying iOS. However, when I downloaded the profile and dragged it to the organizer, it says: "A valid signature ID was not found." I am sure that this is due to certificates in keychain and private keys (???), however I do not know how to fix this problem.

Can someone point me to a tutorial or give me advice on adding certificates to a keychain without using Xcode; such as the "use for development" button do not work for me!

Note: The only valid Provisioning Profiles profiles are distributions. When I try to click “Renew”, Xcode says: “There is no value for the“ CertificateIDs ”parameter. Hope this helps!

+4
source share
5 answers

The .p12 file associated with your provisioning profile was not found in your system keychain.

Note the following things:

  • Make sure you include the correct certificate by creating a provisioning profile on the Apple Developer site.
  • Check if you have duplicates of your certificate and private key more than once in your access to the key chain.
  • If you do not have a .p12 that matches the initialization profile, Get it is exported from the Mac system on which it was created, and install it on your Mac system.
+5
source

Check your code signing ID, set your profile there. and your Provisioning profile package ID is the same as your application package ID.

+1
source

In order to correctly sign the code - without using Xcode - you need a valid certificate and a key that matches the provisioning profile:

  • Verify with Keychain Access that you really have an “iPhone Distribution” certificate with your private key.

  • Make sure that this is the same certificate that was used in the “provisioning portal” to create the development / distribution profile. If not, create a new one or import the certificate from another Mac that you used when creating the provisioning

  • Download the provisioning profile and simply double-click it.

+1
source

Conducting this here because none of the other answers really went in enough detail to help me, and I still had to figure it out on my own.

On the Apple Developer website, log in and click "Under" under the certificates. The certificate must be generated on YOUR machine, and not build with your account or things. That's what confused me ... You can click the + icon and create a new certificate (development or distribution). If it does not allow you to select, for example, Distribution, this is because there are already too many certificates in the account. So, first you need to delete the old certificate.

1) Delete the oldest certificate on the portal
2) Click + and create a new certificate - this will help you open access to Keychain Access on your computer and request a certificate from Apple, and you will need to save the file and upload it to the developer's portal to create a certificate.
3) Upload a new certificate and it will add access to Keychain
4) Go back to the preparation profiles on the Dev portal, press EDIT on the one you are trying to use, and change it to use the newly created certificate.
5) Download and click preparation profile
6) Everything works fine.

This process was not really so complicated, but for some reason I could not find the right explanation anywhere. Hope this helps someone.

+1
source

I had the same problem. I had all the private keys and everything was correct, but xcode refused to build and continued to say that I did not have a valid preparation profile, and the organizer showed that "a valid signature ID was not found."

The solution included:

  • revocation of my developer certificates and development profiles from the ios provisioning portal
  • remove these certificates from keychain
  • try creating again and say xcode to fix the problem.

This allows Xcode to manage certificates, and it magically worked.

However, in another project, I still had a problem, and it was solved with this answer:

fooobar.com/questions/106616 / ...

0
source

Source: https://habr.com/ru/post/1500104/


All Articles