Expo / React-Native, Is it there a way to test-run standalone iOS apps on a device/simulator?

。_饼干妹妹 提交于 2019-12-07 02:49:11

问题


I'm using Expo to code my apps with React-Native. I can test my apps on Android devices running them from the Expo client app or building an APK and running it as standalone.

On iOS I can run my app from the Expo client but I couldn't find a way to run the app as standalone. In this case, I would like to test the "native" facebook login functionality.

Is it possible to run an app as standalone (without using the Expo client) on iOS?

Note: I'm trying to avoid going through TestFlight for this, that will make my workflow painfully slow. I am using Mac OS.


回答1:


  1. Run exp build:ios -t simulator to create an iOS standalone simulator build
  2. Wait for build to finish then download and unpack YourAppName.tar.gz
  3. Start iOS simulator and run xcrun simctl install booted YourAppName.app


来源:https://stackoverflow.com/questions/51567839/expo-react-native-is-it-there-a-way-to-test-run-standalone-ios-apps-on-a-devi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!