npx react-native run-ios

Category: React Native & Mobile

npx react-native run-ios

Build and launch the app in the iOS simulator

Compiles the iOS app and boots it in the default simulator. Requires Xcode and CocoaPods dependencies installed (pod install). Pass --simulator "iPhone 16" to pick a specific device.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.