Hey everyone. I’m trying to build an app with EAS (development profile). When I build in cloud, the app builds successfully, but it does not work with iOS 15. So now I’m trying to build locally, and the furthest I have reached is this error with certificate importing.
I found two topics here in the forum with the same problem. The first author says that he cleared some certificates and restarted the computer. The second has been closed with no solution after a timeout.
I looked for any certs/keys/anything with ‘turtle’ in the name, there was nothing. So I’m stuck here for a while and don’t really know what else can I do.
Good old expo build
works for me but I need to get eas build
working as well.
[PREPARE_CREDENTIALS]
Error: Distribution certificate with fingerprint XXX hasn't been imported successfully
at Keychain.ensureCertificateImported (/Users/alekseiaksenov/.npm/_npx/17379/lib/node_modules/eas-cli-local-build-plugin/node_modules/@expo/build-tools/dist/ios/credentials/keychain.js:54:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async IosCredentialsManager.prepareTargetCredentials (/Users/alekseiaksenov/.npm/_npx/17379/lib/node_modules/eas-cli-local-build-plugin/node_modules/@expo/build-tools/dist/ios/credentials/manager.js:96:13)
at async IosCredentialsManager.prepare (/Users/alekseiaksenov/.npm/_npx/17379/lib/node_modules/eas-cli-local-build-plugin/node_modules/@expo/build-tools/dist/ios/credentials/manager.js:54:41)
at async /Users/alekseiaksenov/.npm/_npx/17379/lib/node_modules/eas-cli-local-build-plugin/node_modules/@expo/build-tools/dist/builders/ios.js:25:20
at async BuildContext.runBuildPhase (/Users/alekseiaksenov/.npm/_npx/17379/lib/node_modules/eas-cli-local-build-plugin/node_modules/@expo/build-tools/dist/context.js:44:28)
at async Object.iosBuilder (/Users/alekseiaksenov/.npm/_npx/17379/lib/node_modules/eas-cli-local-build-plugin/node_modules/@expo/build-tools/dist/builders/ios.js:24:29)
at async Object.buildIosAsync (/Users/alekseiaksenov/.npm/_npx/17379/lib/node_modules/eas-cli-local-build-plugin/dist/ios.js:43:27)
at async Object.buildAsync (/Users/alekseiaksenov/.npm/_npx/17379/lib/node_modules/eas-cli-local-build-plugin/dist/build.js:27:32)
at async main (/Users/alekseiaksenov/.npm/_npx/17379/lib/node_modules/eas-cli-local-build-plugin/dist/main.js:16:9)
Build failed
Distribution certificate with fingerprint XXX hasn't been imported successfully
Here is my eas.json:
{
"cli": {
"version": ">= 0.38.3"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}