Hi there! I just excitedly upgraded my account to leverage the EAS Build path.
When building for iOS it’s failing with the following error;
UnexpectedAppleResponse: The specified resource does not exist - There is no resource of type 'profiles' with id '77AM3NL8B9'
I referenced this issue and deleted all profiles from expo.io but the issue still persists.
I have cleared out provisioning profiles from Apple Developer now and I can see that after running eas build there are no profiles created in my Apple Developer account so I can see why it is not finding profile 77AM3NL8B9.
I just don’t know why it expects profile 77AM3NL8B9 to be there? I had eas build generate the certificate as part of the process.
I’m running into the same problem - here is my debug output
-- Enabled debug logging --
✔ Linked to project ****
› Log in to your Apple Developer account to continue
✔ **Apple ID:** …
› Restoring session /Users/XXX/.app-store/auth/XXX/cookie
POST https://developer.apple.com/services-account/QH65B2/account/listTeams.action
**200** OK (POST https://developer.apple.com/services-account/QH65B2/account/listTeams.action)
› Team **XXX**
GET https://appstoreconnect.apple.com/olympus/v1/session
**200** OK (GET https://appstoreconnect.apple.com/olympus/v1/session)
› Provider **XXXX**
✔ Logged in Local session
POST https://developer.apple.com/services-account/QH65B2/account/listTeams.action
**200** OK (POST https://developer.apple.com/services-account/QH65B2/account/listTeams.action)
✔ Using remote iOS credentials (Expo server)
⠋ Linking bundle identifier com.xxx.xxxPOST https://developer.apple.com/services-account/v1/bundleIds
⠹ Linking bundle identifier com.xxx.xxx **200** OK (POST https://developer.apple.com/services-account/v1/bundleIds)
✔ Bundle identifier registered com.xxx.xxx
⠋ Syncing capabilitiesPATCH https://developer.apple.com/services-account/v1/bundleIds/7BZ7TDN7DZ
⠸ Syncing capabilities **200** OK (PATCH https://developer.apple.com/services-account/v1/bundleIds/7BZ7TDN7DZ)
✔ Synced capabilities
⠋ Fetching Apple distribution certificatesPOST https://developer.apple.com/services-account/v1/certificates
⠹ Fetching Apple distribution certificates **200** OK (POST https://developer.apple.com/services-account/v1/certificates)
✔ Fetched Apple distribution certificates
✔ **All your registered devices are present in the Provisioning Profile. Would you like to exclude some devices?** … no
⠋ Fetching Apple provisioning profilesPOST https://developer.apple.com/services-account/v1/bundleIds
⠹ Fetching Apple provisioning profiles **200** OK (POST https://developer.apple.com/services-account/v1/bundleIds)
POST https://developer.apple.com/services-account/v1/bundleIds/7BZ7TDN7DZ/profiles
⠴ Fetching Apple provisioning profiles **200** OK (POST https://developer.apple.com/services-account/v1/bundleIds/7BZ7TDN7DZ/profiles)
POST https://developer.apple.com/services-account/v1/profiles/NJL2Z689QX/certificates
POST https://developer.apple.com/services-account/v1/profiles/D5QL57U53H/certificates
⠦ Fetching Apple provisioning profilesError: Request failed with status code 404 (POST https://developer.apple.com/services-account/v1/profiles/D5QL57U53H/certificates)
✖ Failed to fetch Apple provisioning profiles
Failed to setup credentials.
UnexpectedAppleResponse: The specified resource does not exist - There is no resource of type 'profiles' with id 'D5QL57U53H'
**200** OK (POST https://developer.apple.com/services-account/v1/profiles/NJL2Z689QX/certificates)
I removed it using eas credentials and it’s no longer visible on in expo credentials, but I’m still getting the same error when running % eas build --profile preview --platform ios
I’ve tried that, but still no luck. It creates a new profile, but it’s still tried to fetch the nonexistant D5QL57U53H profile
⠋ Fetching Apple provisioning profilesPOST https://developer.apple.com/services-account/v1/bundleIds
⠹ Fetching Apple provisioning profiles200 OK (POST https://developer.apple.com/services-account/v1/bundleIds)
POST https://developer.apple.com/services-account/v1/bundleIds/7BZ7TDN7DZ/profiles
⠼ Fetching Apple provisioning profiles200 OK (POST https://developer.apple.com/services-account/v1/bundleIds/7BZ7TDN7DZ/profiles)
POST https://developer.apple.com/services-account/v1/profiles/AZXV94SD8Z/certificates
POST https://developer.apple.com/services-account/v1/profiles/D5QL57U53H/certificates
⠦ Fetching Apple provisioning profiles200 OK (POST https://developer.apple.com/services-account/v1/profiles/AZXV94SD8Z/certificates)
Error: Request failed with status code 404 (POST https://developer.apple.com/services-account/v1/profiles/D5QL57U53H/certificates)
✖ Failed to fetch Apple provisioning profiles
Failed to setup credentials.
UnexpectedAppleResponse: The specified resource does not exist - There is no resource of type 'profiles' with id 'D5QL57U53H'