Expo go によるiOS simulator起動手順。
user@usernoiMac react-native-demo % sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Password:
user@usernoiMac react-native-demo % npx expo start
Starting project at /Users/user/react_test/react-native-demo
React Compiler enabled
Starting Metro Bundler
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ █ █ █▄ ▄██▀ █ █ █ █
█ █▄▄▄█ █ ▀█▀██▀ ██ █▄▄▄█ █
█▄▄▄▄▄▄▄█ ▀▄█ █▄█▄█▄▄▄▄▄▄▄█
█ ▄▀ ▀█▄ ▀█ ▀█▄▀▄▄▀ ▄▀▄▄▀█
██ ▄▄ ▄█ ▄▄██ ▀▄▄▀ ▀▀█▄▄█
██ ██▀▄▀▄▀▀▀ ▄ █▀█ ▄█ ██▀█
█▄▀▀██▄▄█▄█ █ ▀██ ▄▄ ▀▀██▄█
█▄▄██▄▄▄▄ ▀█▄██▄ ▄▄▄ █ ▄ █
█ ▄▄▄▄▄ █▄ █▀██▄ █▄█ ▀▄ █
█ █ █ █▀█ ▀▀▄ ▄▄ █▀█▄█
█ █▄▄▄█ █▀██ ▄█ █▄ ▄█▄█
█▄▄▄▄▄▄▄█▄▄▄▄▄█▄█▄███▄▄█▄▄█
› Metro waiting on exp://192.168.1.10:8081
› Scan the QR code above with Expo Go (Android) or the Camera app (iOS)
› Web is waiting on http://localhost:8081
› Using Expo Go
› Press s │ switch to development build
› Press a │ open Android
› Press i │ open iOS simulator
› Press w │ open web
› Press j │ open debugger
› Press r │ reload app
› Press m │ toggle menu
› shift+m │ more tools
› Press o │ open project code in your editor
› Press ? │ show all commands
Logs for your project will appear below. Press Ctrl+C to exit.
› Opening on iOS...
› Opening exp://192.168.1.10:8081 on iPhone 16
Downloading the Expo Go app [================================================================] 100% 0.0s
› Press ? │ show all commands
› Opening the iOS simulator, this might take a moment.
iOS Bundled 11764ms node_modules/expo-router/entry.js (1431 modules)