native_build
Builds and launches native Expo/React Native development build for iOS or Android, streaming output to the timeline. If toolchain is missing, provides installation checklist.
Instructions
Build + launch the native dev build for the active pane (expo run:ios / expo run:android); output streams to the timeline. Cockpit-only, local build. Needs the native toolchain (Xcode for iOS; Android SDK + adb + a JDK + $ANDROID_HOME for Android). If the Android toolchain isn't set up it returns started:false with a checklist of exactly what to install, instead of failing cryptically. After it boots, use native_open to drive it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory to build; defaults to the active pane's project. | |
| platform | Yes | Which platform to build: ios or android. |