简体   繁体   English

iOS/Expo:弹出到裸工作流后无法在物理设备上构建

[英]iOS/Expo: Can't build on physical device after ejecting to bare workflow

I just ejected my project to a bare workflow and I am unable to build my project to my physical device (iPhone SE gen 2).我刚刚将我的项目弹出到一个裸工作流中,我无法将我的项目构建到我的物理设备(iPhone SE gen 2)上。 It builds normally to the iOS simulator for every device type.它为每种设备类型正常构建到 iOS 模拟器。

When I run expo run:ios -d , as this post points out, my device is not listed in the options list.当我运行expo run:ios -d时,正如这篇文章指出的那样,我的设备未列在选项列表中。 On the Xcode UI, my device is shown, but it immediately says the build fails when I try to run my app (other sims work fine here too).在 Xcode UI,显示了我的设备,但是当我尝试运行我的应用程序时,它立即说构建失败(其他模拟程序在这里也可以正常工作)。 I've tried the posts I've found across different forums (cleaning builds etc) but nothing seems to work.我已经尝试过我在不同论坛上找到的帖子(清理构建等),但似乎没有任何效果。 For context, I am running on a m1 mac.对于上下文,我在 m1 mac 上运行。

Any guidance here would be much appreciated这里的任何指导将不胜感激

Looks like the issue was that I did not have a developer account associated with the project in Xcode.看起来问题是我没有与 Xcode 中的项目关联的开发人员帐户。 Once adding one and registering my device, I was able to build it onto my device添加一个并注册我的设备后,我就可以将它构建到我的设备上

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

相关问题 expo 裸工作流不能使用nativemodule - expo bare workflow can't use nativemodule 如何在 IOS 设备上的裸工作流中测试我的博览会应用程序? - How can i test my expo app in bare workflow on IOS device? 在裸 React Native 项目中安装 expo 后生成错误 (IOS) - Build Error (IOS) after installing expo in a bare React Native Project iOS Project在模拟器,物理设备上运行,但无法为“ iOS设备”构建或归档 - iOS Project runs on simulator, physical device, but can't build or archive anymore for “iOS Device” 无法构建 - expo buid:ios - Can't build - expo buid:ios 我需要在我的个人设备上测试我的 React Native 应用程序(作为裸工作流从 Expo 中弹出)。 如何在我的 iPhone 上构建和部署它? - I need to test my React Native app (Ejected from Expo as Bare Workflow) on my personal device. How do I build it and deploy on my iPhone? 无法在物理设备上构建 IOS 应用程序 - Unable to build IOS app on physical device 反应本机 expo iOS 无法询问物理设备上的后台位置 - React native expo iOS cannot ask for background location on physical device 无法在物理设备上构建iOS应用 - Not able build ios app on physical device Expo 裸工作流谷歌登录身份验证错误 - Expo bare workflow google signin auth error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM