On Authkeys I see the expo notifications key
On Provisioning Profile I see Push Notifications enabled
On App ID Configuration I see the to the left of push notifications.
… but there are 0 certificates attached, as shown in this image. iOS settings > notifications doesn’t show the app No push tokens are generated (I think status stays “UNDETERMINED”). I followed all the docs I think, but I feel like a step is missing? Can you help?
Update: I ran the seemingly safe command expo ios:build -c --no-publish, and chose for expo to handle everything. It then started regenerating EVERYTHING, now ending up with duplicate of everything except for:
× Failed to generate Apple Provisioning Profile
√ Didn’t find any previously uploaded Apple Distribution Certificate
√ Didn’t find any previously uploaded Apple Push Notifications service key
But this is incorrect, as I already had both, via expo-cli
The final error is to be expected: duplicate profile name.
I can’t find anything about this in the troubleshooting docs either. My next step is, unless I’ll be told otherwise, to run the command once more but then pick “let me handle it”. I’ll then upload the original ones to the expo server.
-c removes credentials only from expo servers, so you need to either revoke them on apple developer portal or add --revoke-credentials flag to build command when clearing credentials.
If I understand correctly, you managed to resolve problem with distribution certificate and push notification key and you are seeing error only for provisioning profile. In that case run expo build:ios --clear-provisioning-profile --revoke-credentials
Apple Provisioning Profile
× Failed to generate Apple Distribution Certificate
You can have only three Apple Distribution Certificates generated on your Apple Developer account.
Please revoke the old ones or reuse existing from your other apps.
Please remember that Apple Distribution Certificates are not application specific!
revoke-credentials therefore doesn’t seem to work correctly. Now revoking everything manually and running everything again.
BY This is correct I meant that what you seeing in app id on apple developer portal is the way it suppose to be.
revoke-credentials flag is only revoking those credentials that are going to be cleared from expo server, so in that case, you need to run expo build:ios --clear-credentials --revoke-credentials
Based on your previous post I assumed that distribution certificate and push notification key was saved correctly on expo servers.