Expo / React-Native, Is it there a way to test-run

2020-07-11 07:30发布

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条回答
淡お忘
2楼-- · 2020-07-11 08:15
  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
查看更多
登录 后发表回答