If you use expo build:ios build command, follow the below instructions. If you use eas build you don’t need to do anything, everything will be configured autometically.
- Log into the Apple Developer Console, go to “Certificates, Identifiers, & Profiles” and then “Identifiers” (Perform this steps only after you’ve run
expo build:iosonce successfully). - In the list of identifiers, click on the one corresponding to your app. Enable the “Sign In with Apple” capability by marking the checkbox, now click “Edit” right next to “Sign In with Apple”, and choose the “Enable as a primary App ID” option. Save the new configuration. Again press save from the top right corner.
- Next, go to the “Keys” page and register a new key. Add the “Sign In with Apple” capability, and make sure to choose the correct bundle ID on the configuration screen.
- Finally, when you want to make a standalone build, just run
expo build:ios --clear-provisioning-profile --revoke-credentialsso that your provisioning profile will be regenerated with the new entitlement.