iOS Setup
Prerequisites
Section titled “Prerequisites”- macOS (required)
- Xcode installed from the Mac App Store
- Xcode command line tools:
xcode-select --install
Physical device
Section titled “Physical device”- Connect your iOS device via USB
- Tap Trust when prompted on the device
- Verify in Xcode that the device appears
Then confirm MobileCLI sees it:
mobilecli devicesSimulator
Section titled “Simulator”# List available simulatorsxcrun simctl list devices available
# Boot a simulatorxcrun simctl boot "iPhone 16"open -a SimulatorOr boot directly with MobileCLI:
mobilecli device boot --device <simulator-id>Troubleshooting
Section titled “Troubleshooting”Device not recognized
Section titled “Device not recognized”- Update to the latest Xcode
- Disconnect and reconnect
- Re-trust the computer on the device
Simulator won’t start
Section titled “Simulator won’t start”- Reset the simulator:
xcrun simctl erase <device_udid> - Verify command line tools:
xcode-select --install