-
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 Services
certificate forcz.cvut.fit.grades
app 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
Grades
App 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
Release
scheme at the top of XCode - Click on project root in file navigator on the left
- Select
Signing & Capabilities
- Click
Grades
target and underSigning
->Provisioning Profile
import the new certificateGrades - AppStore
. - Click
GradesNotificationExtension
target and import the certificate for the notification extension with the same process. - Increase minor app version in
General
tab for bothGrades
andGradesNotificationExtension
targets, commit and push the changes. - Archive the app, upload it to App Store Connect and publish a new version.