简体   繁体   English

Expo 从管理弹出到裸不工作

[英]Expo eject from managed to bare not working

I created an app with expo using the managed workflow, but I now want to eject it so I can build an IPA for IOS.我使用托管工作流创建了一个包含 expo 的应用程序,但我现在想将其弹出,以便为 IOS 构建 IPA。 After running expo eject and following the prompts for pod install, when I try to build the app and view it on the simulator in xCode, I get stuck on the splash screen which results in a very long list of errors (attached the relevant looking one below).运行 expo 弹出并按照提示进行 pod 安装后,当我尝试构建应用程序并在 xCode 的模拟器上查看它时,我卡在启动屏幕上,导致一长串错误(附上相关外观)以下)。

Have I missed a step here?我在这里错过了一步吗? I tried looking on the expo documentation but it's very lacking in using the eject command.我尝试查看 expo 文档,但在使用弹出命令方面非常缺乏。 Is there a step or something I'm meant to modify after the eject has occurred?弹出发生后是否有步骤或我要修改的内容?

Error: Exception NSException * "expo-updates must be configured with a valid update URL or scope key."错误:异常 NSException *“expo-updates 必须配置有有效的更新 URL 或 scope 密钥。”

So I resolved this by following these steps after I ejected: https://docs.expo.io/bare/installing-updates/所以我在弹出后按照以下步骤解决了这个问题: https://docs.expo.io/bare/installing-updates/

And also adding the below to the Expo.plist file in the MyApp/Supporting folder with the below:并将以下内容添加到 MyApp/Supporting 文件夹中的 Expo.plist 文件中,其中包含以下内容:

<key>EXUpdatesURL</key>
<string>https://example.com</string>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM