iOS Distribution Certificate Acceptance not working - ios

I followed the instructions on the iOS developer site, used keychain access to generate a certificate request, and uploaded it to the distribution part of the certificates tab in the provisioning portal.
The instructions say that I should now accept that certificate. Except all it says is the name of the certificate and "issued". There's no place for me to accept it. There isn't even a place for me to delete it. I've searched all over for help, and can't find any.
Any help is much appreciated.

If you are the person who created the Apple developer account, you need not accept it. It will get automatically accepted after a while. You need to go to the distribution section and it should be there to be downloaded in Certificates->Distribution. You would also need a distribution provisioning profile which is created in a more or less similar fashion.
If you are not the person who created the Apple developer account, then you cannot create a distribution build. Contact the person who has the "Agent" account.

Related

Renew Apple developer certificate

I am just about a week away of expiration of the Apple developer certificate. Accidentally I lost the CSR file which I used when I created the last certificate which I am currently using.
Could you please let me know what all issue I may face if I will go with another CSR for new certificate?
Note:
Without CSR, you will be able to work with existing certificate but once it expires, you must create new one and you can use/create new CSR if previous one is lost.
Updating your certificate will not impact on your distributed build on public environment (Apple App Store). But of-course it won't allow you to distribute your new build with invalid/expired certificate.
Here is an instruction from Apple Developer Documentation for Code Signing Identity, that says,
If you lose control of your Apple-issued signing identity, such as
your Developer ID or Mac App Distribution identity, report this to
Apple immediately. Apple will invalidate the old identity and help you
to replace it. While this seems like a bit of work, it is critical,
because anyone possessing your identity can distribute potentially
malicious or destructive code that looks like it came from you.
This may also help you.
No Code Signing Identities Found
Xcode detects when you’re missing a signing identity. Typically, this happens when you move from one Mac to another. Follow the steps in Creating the Team Provisioning Profile to create your signing identity and add it to the team provisioning profile. You’ll have the option of importing your signing identity from another Mac or resetting it. If you use a custom development provisioning profile that you manage yourself, it becomes invalid after revoking the development certificate. Read Editing Provisioning Profiles in Your Developer Account to regenerate it.
To avoid this problem, export your certificates as a developer profile file on the other Mac, and then import them on your new Mac, as described in Exporting and Importing Certificates and Profiles.
As per apple documentation .CSR is used in combination with your App ID, provisioning profile and entitlements. So, if one have both (App ID and provisioning profile) it will harmful to you.
.CSR explanation

certificate, provisioning profile etc for my new iOS app

I have created an iOS app. The app is already in the store. Now, I am creating a new iOS app. I am wondering, what should I change in regard to development certificate, distribution certificate, provisioning profile.
I am reading this document. It says the following:
You use the same development and distribution certificates for iOS,
tvOS, and watchOS apps.
OK, does it mean for the new app, I can use the same development & distribution certificate as the old app is using? If so, what about provisioning profile? Could someone please clarify all these to me for the new app?
====== Other related questions =====
What if the app is developed by other developers, we are in the same team, now I create a new app. Do I need to create new certificate, provisioning profile, etc?
If developer A developed an app & distributed to Apple store, then he left the company. Developer B needs to fix the same app and upload to Apple store again. What does developer B needs from developer A? The private key, right? Other things certificate, provisioning profile from developer B can be used by developer A directly right?
#Shubham Ojha, thanks for your comment below. But I still want to ask the following scenario: We are several developers in the same company, we have a company Apple developer account. One developer has created the development/distribution certificate, provisioning profile, etc for the first app, then, he left company.
Now questions are :
For the same app, I need to fix some bugs and release to Apple store again, what do I need to do with those certificate? I think the private key is on that developer's laptop right? Do I have to have that private key in order to release the app?
For a new app, what do I need to with those certificates?
You can use the same development and distribution certificates for a new app, since the certificates are bound to a developer or any development/distribution team respectively.
Only you need to create a new App Id from the developer portal(member center) and you can select the same developer and distribution certificates while creation of the provisioning profiles.
Yes you need to export the certificates from the MAC on which it was created first and the private key is also required for its installation on any other MAC. But if the employee hasn't submitted that, then you need to create a different signing identity using your Xcode->preferences->accounts->View Details(of Apple ID associated with developer account). Here you can create the signing identities and export them.
At below link you will get all your answers with proper step by step documentation, if you still have any doubts feel free to ask.
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html
For a new app also you need the same certificates since certificates are for team/developer and not for a particular app.

iOS Dev: Certificates and hiring a freelancer

I have hired a freelancer to build an app for me. I have an individual dev account to which I have added him as a technical user. He has requested either that I send him distribution and development certs plus a provisioning profile OR to make him an admin role in iTunes Connect.
Should I create certificates with my name/email and send them to him? Or with his name/email? Or should I just make him an admin? What is the best/safest course of action? This is just for testing purposes and I will be receiving the source code upon project completion.
Totally new to iOS dev and have been scrounging around the web for a definitive answer. Sorry if this is rudimentary!
Thanks!
You don't need to add him as a Admin at all. If he has a free developer account you can sent him a request to add to your developer account team and can create a development and distribution profile from which developer can download. For certificate request developer need to send the request from him Mac and can download it from developer.apple.com.
For other option i am not sure if it will work because from latest XCode environment developer account needs to be added in Xcode but give it a try.
Other option if you don't at all want to give access to your developer account will be. Create and download the developer and distribution profile and share it with Freelancer.
For Certificate you would be requiring a Mac. Below is a process of creating a certificate:
http://www.aquafadas.com/en/documentation/sample-page/developer-apple-com-2/generating-your-development-certificate/
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html
Now goto your KeyChain access and can see your certificate there:
Right Click your certificate and export "iPhone Developer..." or "iPhone Distribution.." . Save it to your desktop. It will be a .p12 file and will ask for password while saving.
Share this .p12 file with the freelancer along with password. Share both Developer and Distribution certificate.
So now your freelancer has both Developer and Distribution certificate and provisional profile.
Since he is not the one that will be submitting the app to AppStore, then he should not be an admin. So the admin account is with your credentials.
Usually, if he is an iOS freelancer, most likely he already has an Apple account. So after he creates a certificate signing request, you should generate a development certificate for him, in order to test on real devices - that is, you must add his user to your created team.
However, the certificates-accounts process is not so easy, so I'd recommend you to also read: http://escoz.com/blog/demystifying-ios-certificates-and-provisioning-files/ .

Valid signing identity not found, I have tried other solutions, but doesn't seem to work

I have looked at lodes of other posts about this and tried all of them, but I still keep getting this error...
I have opened key chain and there is a developer ID which is "valid" and a private key.
I have re-created several provisioning profile for the apps (selecting the app and device).
I am on a team based account, so I cant delete all the other provisioning profiles as other people may be using them, which is what a few solutions have said, but I have tried deleting all the provisioning profiles for the app and re-making them, but it still doesn't seem to work.
I am using xcode 4.6.3 and trying to install the app on iPad 6.1
Here are screenshots:
May be your certificate is revoked and signed with a different key which you don't have, ask for the private key of newly signed certificate may be some has it.
Hope it works.
Edit
Your Developer profile needs to be recreated, and you can revoke your own developer certificate, it will not harm anyone else if you are in a team.
Edit 2
To create a new developer certificate do the following
Delete the old developer certificate.
Login to your developer portal developer.apple.com/iphone
Select Certificates, Identifiers and Profiles from iOS Developer
Program menu on right.
Choose Certificates, then choose Development.
You will see your Developer certificate there, select that, then you
will see Revoke option, press that and Revoke.
After revoking there you will see steps to create the Certificate
follow that.
After creation you will need to update the Profile too with the new
certificate.

iOS Publishing App via Apple Developer Invitation

Hey guys I have to publish an App with a foreign Apple Account. I got the invitation and now I can download the Distribution Provisionig Profile. However I also need the valid signing identity - that means that I also have to create a Distribution Certificate but this option is disabled or I only can create a Development Certificate (like shown in the screenshot below).
Am I right that this Distribution Certificate has to be created by the Account Owner? What exactly does he have to do in order to get the available Distribution Provisioning Profile to work on my machine?
I Would be glad for some hints!
The account owner has to export both the distribution certificate and the private key and share them with you. You install them on your computer and everything should work.

Resources