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 continuethenRegister
Generate a Code Signing Certificate#
- Open your - Keychain Accessapp on macOS.
- Select - Keychain Access>- Certificate Assistant>- Request a Certificate From a Certificate Authority...
- Fill in the User's Email Address and the - Common Nameand select- Saved to Disk. Click on- Continueand save the generated- certSigningRequestfile locally.
- Go to https://developer.apple.com/account/ and log in to your account. 
- Select - Certificates, IDs & Profilesfrom the left sidebar.
- Go to - Certificatesand click on the + button.
- Select - iOS Distributionand click Continue.
- On the next page you see the instructions for creating the - certSigningRequestfile. Click- continue.
- Upload the created - certSigningRequestto 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 Accessapp.
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.