submitting ios app using the private key of a revoked distribution certificate - iphone

I have a distribution certificate that is still valid on my mac.
the team agent revoked it in the ios portal by mistake.
Am I still able to use the old certificate to submit apps to the app store? or should I get a new private key and provision profile of the new certificate?
Thanks for your help

You should create a new Distribution certificate (with a new private key) and any required provision files.

My guess- you'll be able to use it to create a build but not submit to the store with it. For that you will need to recreate the mobileprovision with the new certificate.

Related

Distribute IPA - Why keep getting private keys not installed error when distributing apps with enterprise options?

I want to ask about distributing IPA in an enterprise program. What have I done:
1. Create a new certificate and private key (the type is ios distribution)
2. upload the certificate in the account for the apple company program website
3. archive my application with xcode 11
4. download renewed apple WWDR certificate
When I want to distribute IPA in enterprise mode, I get an error: "my company has one IOS Distribution certificate but the private key is not installed. Contact the author of this certificate for a copy of the private key. But actually the computer used to create the certificate and the one used to upload the ipa enterprise are the same (in the keychain already exist).
Can anyone help me with my problem or any suggestion ? Thank you in advance before.
Does you app BitCode = NO, if you can change that to YES, then there's another choice Automatic manage signing, which can distribute app success.
It's maybe a apple bug, not sure yet.
The solution is :
Create a provisioning profile
Link profile with certificate
Add a profile name
Re-upload your application by manual signing and select the profile you created earlier (note : the solution still not possible to auto mode)

getting Code Sign error when updating the application

I want to update my application in app sotre.... I again downloaded the Distribution certificate and distribution provision profile and try to build with that..
But its giving me error
Code Sign error: The identity 'iPhone Distribution: Mobilesoft LLC' doesn't match any valid certificate/private key pair in the default keychain.
At the time of submission i myself created the certificate. I want to ask if i create it again then build with new certificate does it effect anything if i update with the newly created certificate.
Thanx...
Create a new certificate and also create new provisioning profile with this new certificate and previous bundle identifier. It will work properly.
You probably don't have the private key any more. If you can't find this, you can revoke and recreate your distribution certificate and provisioning profiles. This will not affect apps currently in the app store.

Issue with transferring of developer certificate and Provisioning Profile under Xcode

I am trying transfer my developer certificate under the keychain to someone. I exported the item. And also send him the provisioning profile which includes his device ID.
He installed my certificate to his keychain and also the provisioning profile to his xcode.
However, The provisioning profile under his xcode complains of there's no Valid signing Identity. Well I already sent him the certificate.
What's wrong?
You have to export the matching private key with the Developer Certificate, you can select both the private key and Certificate and export at the same time.
Does he have multiple certificates with the same name in his keychain? In which case he may have to delete the one that is not applicable for this profile when he is trying to build the app (he can reinstall the deleted certificate later). Also, ask him to delete and reinstall the profile. Is there any more information he is getting with the error?
Along with the development & distribution certificates that you provided, you also need to export your private key as a *.p12 file. When he is importing this elements into the Keychain application ensure he selects the "login" keychain.

Lost Private Key For iPhone Distribution Certificate. What could be solutions?

I have lost my private key for iPhone Distribution Certificate during an OS upgrade.
Now I want to upload a new iPhone App to the App Store and that requires me to sign the App with an iPhone Distribution Profile/Certificate. Is there any way to create a new iPhone Distribution Certificate. I did not find any "New.." option there on the developer portal.
One more question: must I have to sign the code with an iPhone Distribution Certificate to submit on the App Store? Or can I sign and upload it on the App Store with an iPhone Development certificate?
Thanks In Advance...
Revoke your current certificate, wait a few seconds and refresh the page and you should see a button "Request Certificate". You'll have to follow the Certificate Signing Request instructions again, and upload the .csr file. You'll then have to wait for your Team Administrator (could well be you) to Accept the new certificate before downloading it and installing in your KeyChain.
You'll have to create a new provisioning profile for the App, using the new certificate.
Hope this helps :)
Yes you can have a solution for this
Revoke certificate you have in distribution and get CSR again (it should be from Mac where you need key) and creat new certificate. Once you do this you will have certificate, now go to profile, you will find profile invalid, edit it and take new certificate you created and regenerate again. Download certificate and profile and use in code and you are good to go

Can we remove certificates and create again on Account for iphone app distrbution

I have one big problem. I am having iphone developer account and now i have given all the controls to my developer so he has created certificate in account and install it. But he didn't know that if we want to use this information on multi system then we need to keep .p12 certificates and we have to install this certificates on another machine.
We don't have this .p12 certificate and we want to use another machine so what should i do for this things?. How can i delete current certificate from account and create another CSR and certificates for all machine?.
If anyone knows then please drops some line.
Thanks,
iPhone Dev.
If you still have the machine he created the Certificate Signing Requests (CSR) on, then you can export the private key from Keychain Access. Just find the key and export it.
If the private key is no longer available then you need to revoke the existing certificate and create a new one again. There are plenty of questions on Stackoverflow about this, e.g.
Lost Private Key For iPhone Distribution Certificate. What could be solutions?