EAS Build fails
How do I fix this?
$ eas build -p ios --profile production
✔ Linked to project @XXX/XXX
Specifying "ios.bundleIdentifier" in app.config.js is deprecated for generic projects.
EAS Build depends only on the value in the native code. Please remove the deprecated configuration.
✔ Using remote iOS credentials (Expo server)
If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the values manually and we can only run minimal validation on them.
✔ Do you want to log in to your Apple account? … yes
› Log in to your Apple Developer account to continue
✔ Apple ID: … XXX
› Restoring session /Users/xxx/.app-store/auth/XXX/cookie
✔ Select a Team › XXX (XXX)
› Provider XXX (XXX)
✔ Logged in Local session
✔ Bundle identifier registered xxxx
✔ Synced capabilities: No updates
✔ Synced capability identifiers: No updates
✔ Fetched Apple distribution certificates
✔ Fetched Apple provisioning profiles
Project Credentials Configuration
Project @xxx/xxx
Bundle Identifier xxxx
App Store Configuration
Distribution Certificate
Serial Number XXX
Expiration Date Thu, 23 Dec 2021 11:31:15 GMT+0900
Apple Team XXX
Updated 10 months ago
Provisioning Profile
Developer Portal ID XXX
Status active
Expiration Thu, 23 Dec 2021 11:31:15 GMT+0900
Apple Team XXX
Updated 27 days ago
All credentials are ready to build @xxx/xxx (xxxx)
✔ Push Notifications setup for XXX: xxxx
✔ Uploaded to EAS 11s Learn more
Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, please report the issue.
CombinedError: [GraphQL] Entity not authorized: CustomerEntity[xxxxxxxxxxxx] (viewer = UserViewerContext[xxxxxxxxxxxxx], action = READ, ruleIndex = -1)
eas-cli
:
$ eas -v
eas-cli/0.32.0 darwin-x64 node-v12.21.0
I was able to build it 8 days ago, and I haven’t made any changes to “eas.json” since then.
eas.json
:
{
"build": {
"base": {
"node": "12.21.0"
},
"production": {
"extends": "base",
"distribution": "store",
"ios": {
"buildConfiguration": "Release",
"releaseChannel": "ios-production",
"scheme": "XXX"
},
"android": {
"gradleCommand": "app:bundleRelease",
"releaseChannel": "android-production"
}
},
"staging": {
"extends": "base",
"distribution": "internal",
"ios": {
"buildConfiguration": "Staging",
"releaseChannel": "ios-staging",
"scheme": "XXX"
},
"android": {
"gradleCommand": ":app:assembleStaging",
"releaseChannel": "android-staging"
}
}
},
"submit": {
"release": {
"ios": {},
"android": {}
}
}
}
Expo: 42.0.3
workflow: bare
expo-cli: 4.12.1