-
Notifications
You must be signed in to change notification settings - Fork 0
Renewing release certificates
Jiří Zdvomka edited this page Mar 16, 2021
·
5 revisions
AppStore release certificates and provisioning profiles are only valid for a year, therefore the must be renewed every year. There is no automatic Continues Delivery configured so the renewal has to be done manually.
- Go to the list of certificates in Apple Developer Portal, click the expired certificate and revoke it.
- Also remove expired
Apple Push Servicescertificate forcz.cvut.fit.gradesapp ID. - Go to the list of provisioning profiles and remove expired profiles for Grades and Grades Notification Extension.
- Click on + button at the list of certificates in Apple Developer Portal
- Chose Apple Distribution
- Upload Certificate Signing Request
- Download your certificate and add it to Keychain (otherwise signing the app locally in XCode will not work).
The notification server also needs a new certificate for authenticating with Apple Push Notification Service.
- Click on + button at the list of certificates.
- Chose
Apple Push Notification service SSL (Sandbox & Production) - Select
cz.cvut.fit.grades - Upload Certificate Signing Request
- Download the certificate and export it to .p12 file with password
- Deploy the certificate to the notification server (see its docs).
- Go to the list of provisioning profiles and click + button.
- Chose AppStore
- Select
GradesApp ID - Select Distribution certificate (not iOS Distribution)
- Name the certificate
Grades - AppStore - Download it
Repeat the same and create another certificate, but in step 2. choose Grades Notification Extension
- Open the Grades project in XCode
- Select
Releasescheme at the top of XCode - Click on project root in file navigator on the left
- Select
Signing & Capabilities - Click
Gradestarget and underSigning->Provisioning Profileimport the new certificateGrades - AppStore. - Click
GradesNotificationExtensiontarget and import the certificate for the notification extension with the same process. - Increase minor app version in
Generaltab for bothGradesandGradesNotificationExtensiontargets, commit and push the changes. - Release a new app version
