To be able to send push notifications to the users of your privately distributed app, you need to provide us with APNS certificate. Below is a step-by-step instruction on how to generate and export it:

1. Login to Apple developer account and click Certificates > Identifiers > Profiles.

2. Select iOS in the drop-down menu on the left.

3. Click "App IDs" in the left-hand side menu and create a new App ID.

4. Specify App name, Bundle ID, select Push Notifications, and click "Continue" at the bottom.

5. Click the button "Register", then "Done" to complete app registration.

6. The app will now become available in App IDs

Generate a Certificate from Keychain Access

1. Launch the Keychain Access application on your Mac and Select Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority.

2. Enter your email address and check the "Saved to disk" option, then click "Continue".

3. Save the certificate

Generate a Production Certificate

1. Go back to the developer account and select the app from App IDs and click "Edit".

2. Scroll Down to the "Production SSL certificates" section and click "Create Certificate".

3. Click "Continue".

4. Choose the certificate file created from Keychain Access in the previous section and click "Continue".

5. Download the Development Certificate and click Done to finish the process.

Generate APNS .p12 certificate

1. Double click the Development certificate generated in the previous step to add it to Keychain Access. Go to Keychain Access, select login keychain and My Certificate from the side menu. Find app certificate and right click to export it.

2. Enter the certificate name and click "Save".

3. Enter your computer admin password to finish the process.

Did this answer your question?