peach ios
Start a simulator on iOS. The platform picks the device: your current device is kept when it is already an iOS model, otherwise the default iOS device is used. Use --remote with your app folder, or a prebuilt bundle, to run it on the production service and open its viewer.
peach ios [target] [--device <model>]
peach ios --remote <app-dir|bundle-path|https-url> [--device <model>]
peach ios --remote <metro-bundle-url> --watchOptions
| Flag | Description |
|---|---|
--watch | keep a remote simulator connected to your Metro server until Ctrl+C |
--device <model> | pick a specific iOS device model. an Android model here is refused by name rather than silently overriding the platform |
--remote | build the app folder, or take the bundle, and run it on a remote simulator with its viewer open |
Examples
peach ios
peach ios --device iphone-16
peach ios --remote .
peach ios --remote ./dist/main.js
peach ios --remote https://cdn.example.com/main.jsRun Your App
From your Expo or React Native app's folder:
peach ios --remote .Peach builds the app with the app's own bundler, compiles its Expo modules, Nitro modules and C++ TurboModules on your Mac, and ships them with the bundle. Your Metro config needs no changes. Remote Android simulators do not load compiled Kotlin modules yet.
A prebuilt bundle also works. Build it with expo export:embed or react-native bundle, then pass the file. Peach reads the installed package versions and compiles the native modules of the app folder above the bundle, or of --native-project <app-dir>:
npx expo export:embed --platform ios --dev false --bundle-output dist/main.js --assets-dest dist
peach ios --remote ./dist/main.js