Expo iOS Build Not Working--quot;Could Not Receive Latest API Key from App Store Connectquot;(Expo iOS 构建不工作--“无法从 App Store Connect 接收最新的 API 密钥)
问题描述
我目前正在尝试使用 Expo-cli 构建我的第一个应用程序.我在 Windows 10 上.我有一个 Apple Developer 帐户,目前正在尝试为 iOS 构建.但是,每当我运行expo build:ios"时,都会出现以下错误:
I am currently in the process of trying to build my first app using Expo-cli. I am on Windows 10. I have an Apple Developer account and am just trying to build for iOS at the moment. However, whenever I run "expo build:ios" I get the following errors:
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 凭据时,我得到以下信息:
When I run "set EXPO_DEBUG=true expo build:ios" and enter my Apple credentials, I get the following information:
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.14srccommandsuildauth.js:135:11)
at tryCatch (C:UsersdanieAppDataRoaming
pm
ode_modulesexpo-cli
ode_modules
egenerator-runtime
untime.js:62:40)
at Generator.invoke [as _invoke] (C:UsersdanieAppDataRoaming
pm
ode_modulesexpo-cli
ode_modules
egenerator-runtime
untime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (C:UsersdanieAppDataRoaming
pm
ode_modulesexpo-cli
ode_modules
egenerator-runtime
untime.js:114:21)
at step (C:UsersdanieAppDataRoaming
pm
ode_modulesexpo-cli
ode_modulesabel-runtimehelpersasyncToGenerator.js:17:30)
at C:UsersdanieAppDataRoaming
pm
ode_modulesexpo-cli
ode_modulesabel-runtimehelpersasyncToGenerator.js:28:13
at process._tickCallback (internal/process/next_tick.js:68:7)
我尝试过运行服务器并在多个网络上构建,但没有成功.我在任何平台上都没有发现任何其他类似的问题.
I have tried running the server and build on multiple networks with no luck. I have not found any other questions similar to this on any platform.
有没有人知道我可以做些什么来解决这个问题?提前致谢!
Does anyone have any ideas of what I can do to solve this issue? Thanks in advance!
推荐答案
更新到最新版本的 Expo-cli 为我解决了这个问题.它整合了 Apple Developer Account API 的最新更改,需要 2FA 才能访问帐户.
Updating to the latest version of Expo-cli solved this for me. It incorporates latest changes from Apple Developer Account API requiring 2FA to access account.
在终端中为项目运行 npm install -g expo-cli
.
Run npm install -g expo-cli
in terminal for project.
这篇关于Expo iOS 构建不工作--“无法从 App Store Connect 接收最新的 API 密钥"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Expo iOS 构建不工作--“无法从 App Store Connect 接收最新的 API 密钥"
基础教程推荐
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01