You need to generate a Certificate if you don’t already have a Certificate built. The Certificate is connected to your Apple developer ID. It let’s you add up to 100 devices, and make Provisioning profiles for Development and Distribution. If you already have a certificate (From previous app builds, and have already defined devices), you can jump to the Provisioning section here. You will need to generate a Development and Distribution Certificate. These certificates will live inside your Keychain access and give you the ability to generate IPA files (Files needed for final distribution and upload to Apple).
Note: If you do this process more than once you will have multiple certificates in Keychain and you won’t be able to generate an IPA file. Check Keychain access prior to making or revoking these Certificates and remove the iPhone Developer and iPhone Distributor Certificates from the Certificates section of Keychain access.
1. In a browser, go to: https://developer.apple.com
2. Choose “Member Center.”
3. Choose “Certificates, Identifiers & Profiles.”
4. Choose “Certificates.”
5. Choose the “+” sign to create a new Certificate.
6. You will need to make both a Development and a Distribution Certificate. First choose the iOS App Development radio button.
7. You will need to make both a Development and a Distribution Certificate. First choose the iOS App Development.
8. Scroll to the bottom of the page and choose “Continue.”
9. The next screen explains the process of Creating a Certificate Signing Request (CSR). Click continue at the bottom of the page. The process is explained in the next section below.
19.2.1 Keychain Access
In order for you to Generate a certificate you must request a Certificate using keychain access.
10. Launch “Keychain Access.” Keychain Access is located in Macintosh HD/Applications/Utilities
11. Once Keychain Access is launched, choose Keychain Access > Certificate Assistant >Request a Certificate From a Certificate Authority.
12. Enter your Apple Developer Account email address.
13. Enter a “Common Name”(Your Name).
14. CA (Certificate Assistant) email address is not a required field.
15. Choose: Request is Saved to Disk.
16. Choose Continue
17. Save the file to your hard drive.
18. Choose Done.
19. Now you can go back to the Development Certificate section still active in your browser and choose “Choose File.”
20. Navigate to the file you just saved and choose that file.
21. Choose “Generate.”
22. Now choose “Download”.
23. The certificate will download into your downloads folder
24. Double-click this to install this file into Keychain.
21. Once you refresh your browser, you can download the Certificate. Choose “Download.”
22. The Certificate will download into your downloads folder.
23. Double-click this to install this file into Keychain.
This is what the Development Certificate looks like in Keychain Access.
25. Now you can generate the Production Certificate so that you can have the ability to make AdHoc and App Store IPA files on your computer. Click the “+” sign to add the generate the second certificate.
26. Choose “App Store and Ad Hoc”.
27. Choose “Continue” at the bottom of the page.
28. Click on “Choose File”.
29. Select .certSigningRequest file saved on your Mac.
30. Choose “Download.”
31. The Certificate will download into your downloads folder. Double-click the file to add it to Keychain Access.
This is what the Distribution Certificate looks like in Keychain Access.