简体   繁体   中英

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

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. Run expo 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 an iOS simulator and run xcrun simctl install booted YourAppName.app

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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