IOS Code Signing
IOS singing process is sometimes painful specially for people coming from web background which the case for React Native Developers. This guid will help you create Application ids, certificates and Provisioning profiles.
The first step is to enroll Apple Developer Program Member or you should ask the owner to add your Apple Id as a member in the team with certificates generation access.
#
Add your Apple ID to Xcode- Start Xcode
- Select Xcode > Preferences from the navigation bar.
- At the top of the window select Accounts.
- Click on the + on the lower left corner and select Add Apple ID...
- Add your Apple ID and your password, then select Sign in
#
Create a bundle Id- Go to https://developer.apple.com/account/ and log in.
- Select Identifiers and + button
- Select App IDs > Continue > App
- Add description and Bundle Id for your application. (
com.obytes.newApp
) - Select Capabilities and click
continue
thenRegister
#
Generate a Code Signing CertificateOpen your
Keychain Access
app on macOS.Select
Keychain Access
>Certificate Assistant
>Request a Certificate From a Certificate Authority...
Fill in the User's Email Address and the
Common Name
and selectSaved to Disk
. Click onContinue
and save the generatedcertSigningRequest
file locally.Go to https://developer.apple.com/account/ and log in to your account.
Select
Certificates, IDs & Profiles
from the left sidebar.Go to
Certificates
and click on the + button.Select
iOS Distribution
and click Continue.On the next page you see the instructions for creating the
certSigningRequest
file. Clickcontinue
.Upload the created
certSigningRequest
to the form and click continue. It will generate your code signing certificate for you.Download the certificate and double click to install it. Once installed it will be added to your
Keychain Access
app.
#
Generate a Provisioning Profile- Go to https://developer.apple.com/account/ and log in.
- Select Certificates, Identifiers & Profiles from the left sidebar
- Navigate to Provisioning Profiles > All
- click the + button
- For distribution select the correct one under
Distribution
(App Store) and click continue. - Select the App ID you would like to use.
- Select the certificates you wish to include in the Provisioning Profile. These certificates will be able to build with this profile; click continue.
- Name your Provisioning Profile and click continue.
- Your profile is generated. You can download it to your device and double click to install it on your Mac.