简体   繁体   English

React Native Project 使用 Xcode 运行真实设备

[英]React Native Project Run Real Device with Xcode

My problem is this: I created a project in React Native 0.59.9.我的问题是:我在 React Native 0.59.9 中创建了一个项目。

I can run the project on all simulators in Xcode.我可以在 Xcode 的所有模拟器上运行该项目。

But I can't run it on my ios device.但是我无法在我的 ios 设备上运行它。

When I press "Run" the project is compiled and the Metro Bundler is running, but "Loading dependency graph, done."当我按“运行”时,项目被编译并且 Metro Bundler 正在运行,但是“加载依赖图,完成了”。 also hangs out.也闲逛。

After a while, the application starts on the phone, but "dev settings" does not connect.过了一会儿,应用程序在手机上启动,但“开发设置”没有连接。

Try to run the project from within Xcode.尝试从 Xcode 中运行该项目。 You will likely find some settings and/or errors in Xcode which will need to be resolved.您可能会在 Xcode 中发现一些需要解决的设置和/或错误。

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

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