简体   繁体   English

在没有 USB 和 Expo 的 iPhone 上执行 react-native 调试代码

[英]Execute react-native debug code on iPhone without USB and Expo

I am trying to execute my react-native app on my physical iPhone but I don't have the converter so I can't able to use USB and also when I try to use expo for this reason, it doesn't work, it shows the same message(ie, slow internet speed) all the time even though the Wi-Fi speed is pretty good.我正在尝试在我的物理 iPhone 上执行我的 react-native 应用程序,但我没有转换器,所以我无法使用 USB 以及当我尝试使用 expo 时,它显示了尽管 Wi-Fi 速度非常好,但始终显示相同的消息(即网速慢)。

It would be good if someone provide me a reliable way to achieve the same without using expo and USB如果有人为我提供一种可靠的方法来实现同样的目标而不使用 expo 和 USB

Even in bare React Native project.即使在裸 React Native 项目中。 You've to use USB one time, then you can switch to work through Wi-Fi.您必须使用 USB 一次,然后您可以切换到通过 Wi-Fi 工作。 Maybe problem is raised in Expo when you converted in from bare React Native to Expo.当您从裸 React Native 转换为 Expo 时,Expo 可能会出现问题。

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

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