Hi Everybody!
I registered in the Apple Developer Program and created the Provision Profile with the Certification of our company. Then I Created the Private Sign Key in B4i. But I got this message:
error: Missing private key for signing certificate. Failed to locate the private key matching certificate ...
Can anyone help me?
Don't panic! While this process can be a bit annoying it is not too complicated and you can always delete the keys and start from scratch (which is not always the case in Android). Note that you must first register with Apple as an iOS developer (costs $99 per year). The whole process is done...
Don't panic! While this process can be a bit annoying it is not too complicated and you can always delete the keys and start from scratch (which is not always the case in Android). Note that you must first register with Apple as an iOS developer (costs $99 per year). The whole process is done...
I tested with Both Java 14 and 19.
I Removed Provision Profile and Revoked the certificate and started from scratch. But the problem still exists.
I even Installed a fresh MacOS on VMware to get a new CertificateSigningRequest.
Don't panic! While this process can be a bit annoying it is not too complicated and you can always delete the keys and start from scratch (which is not always the case in Android). Note that you must first register with Apple as an iOS developer (costs $99 per year). The whole process is done...
And Also This is the complete message:
error: Missing private key for signing certificate. Failed to locate the private key matching certificate "iPhone Distribution: <Our company AppleID>" in the keychain. To sign with this signing certificate, install its private key in your keychain. If you don't have the private key, select a different signing certificate for CODE_SIGN_IDENTITY in the build settings editor. (in target 'B4iProject' from project 'B4iProject')
After Setting the path to Java 19 and Empty Keys Folder
HOW TO GENERATE CERTIFICATESIGNINGREQUEST
1. Open the IDE and goto Tools->Private Sign Keys
2. Set Your password, you can leave the name and others Unknown
3. Click Create NEW
Open your keys folder, you should now see these files
B4i.keystore, certificateSigningRequest.csr and B4i.p12
From here, goto Developer console and use the certificateSigningRequest to create your certificates
I used MacOS on VMWare only for creating CertificateSigningRequest at the beginning to request for certificate (I don't know if there is other solutions to do that). All other steps were done on Windows.
After Setting the path to Java 19 and Empty Keys Folder
HOW TO GENERATE CERTIFICATESIGNINGREQUEST
1. Open the IDE and goto Tools->Private Sign Keys
2. Set Your password, you can leave the name and others Unknown
3. Click Create NEW
Open your keys folder, you should now see these files
B4i.keystore, certificateSigningRequest.csr and B4i.p12
From here, goto Developer console and use the certificateSigningRequest to create your certificates
I used "certSigningRequest.csr" that was generated by B4i to create a new Certificate and created a new Provision Profile. Then I downloaded the "ios_distribution.cer" and ProvisionProfile and copied them in Key folder. then I created the private key (3 files). But the error still exists.