[英]Test react-native app on iPhone without an Apple Developer account
I am developing an app in React Native. 我正在使用React Native开发一个应用程序。 Beside simulators, I was required to test the app on real devices. 除了模拟器,我还需要在真实设备上测试应用程序。 As it is obvious, it is easy to test an app on Android devices, but I do not know how to test my app on an iPhone device. 很明显,在Android设备上测试应用程序很容易,但我不知道如何在iPhone设备上测试我的应用程序。 Is there any way to test the app on an iPhone without an Apple Developer account? 有没有办法在没有Apple Developer帐户的iPhone上测试应用程序?
Yes, you just run react native app as normal Swift/Objective C app, but you need xCode. 是的,您只需将原生应用程序作为普通的Swift / Objective C应用程序运行,但您需要xCode。 Plugin your device, choose it in xCode from devices and press play. 插入您的设备,在设备的xCode中选择它,然后按播放。 Here are the details: https://facebook.github.io/react-native/docs/running-on-device-ios.html You don't need apple developer account to test it on (I'm not sure) about 5 devices (please correct me). 以下是详细信息: https : //facebook.github.io/react-native/docs/running-on-device-ios.html您不需要Apple开发者帐户来测试它(我不确定) 5台设备(请更正我)。 Then you need account on apple developer site and register all devices. 然后你需要苹果开发者网站上的帐户并注册所有设备。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.