【发布时间】:2019-06-07 13:51:31
【问题描述】:
我目前正在尝试使用 Expo-cli 构建我的第一个应用程序。我在 Windows 10 上。我有一个 Apple Developer 帐户,目前正在尝试为 iOS 构建。但是,每当我运行“expo build:ios”时,都会出现以下错误:
Connection reset by peer - SSL_connect
>>Error while gathering & validating credentials
>>Error: Reason:Unknown reason, raw:"Could not receive latest API key from App Store Connect, this might be a server issue."
>>Reason:Unknown reason, raw:"Could not receive latest API key from App Store Connect, this might be a server issue."
当我运行“set EXPO_DEBUG=true expo build:ios”并输入我的 Apple 凭据时,我得到以下信息:
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)
我尝试过运行服务器并在多个网络上构建,但没有成功。我在任何平台上都没有发现任何其他类似的问题。
有没有人知道我可以做些什么来解决这个问题? 提前致谢!
【问题讨论】:
标签: ios windows react-native expo