iOS Build Not Working--"Could Not Receive Latest API Key from App Store Connect"

#1

Hello,

I am trying to build my first project with Expo-cli. When I run “expo build:ios”, use my Apple ID credentials, I get the following error:

>>Validating Credentials...
>>Connection reset by peer - SSL_connect

>>Error while gathering & validating credentials
>>Reason:Unknown reason, raw:"Could not receive latest API key from App Store Connect, this might be a server issue."

Can anyone help me figure out what is going wrong and how to resolve this issue?

Thanks!

EDIT: When I run “set EXPO_DEBUG=true expo build:ios” I get the following output:

Validating Credentials...
[20:43:11] Running: bash.exe -c PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin "/mnt/c/Users/danie/AppData/Roaming/npm/node_modules/expo-cli/node_modules/@expo/traveling-fastlane-linux/traveling-fastlane-1.6.2-linux-x86_64/validate_apple_credentials" 
Connection reset by peer - SSL_connect

[20:43:32] Error while gathering & validating credentials
[20:43:32] Error: Reason:Unknown reason, raw:"Could not receive latest API key from App Store Connect, this might be a server issue."
[20:43:32] Reason:Unknown reason, raw:"Could not receive latest API key from App Store Connect, this might be a server issue."
[20:43:32] Error: Reason:Unknown reason, raw:"Could not receive latest API key from App Store Connect, this might be a server issue."
    at Object._callee4$ (C:\expo-cli@2.6.14\src\commands\build\auth.js:135:11)
    at tryCatch (C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\regenerator-runtime\runtime.js:62:40)
    at Generator.invoke [as _invoke] (C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\regenerator-runtime\runtime.js:296:22)
    at Generator.prototype.(anonymous function) [as next] (C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\regenerator-runtime\runtime.js:114:21)
    at step (C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
    at C:\Users\danie\AppData\Roaming\npm\node_modules\expo-cli\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:13
    at process._tickCallback (internal/process/next_tick.js:68:7)
closed #2

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.