react-native run-ios
를 입력하면 기본지정 실행
--device '디바이스이름' 파라미터를 넣으면 실기기 테스트 // 디바이스로 실행하는건 테스트를 안해봤습니다.
--simulator="시뮬레이터 이름" 파라미터를 넣으면 해당 시뮬레이터로 테스트
ex)
\iphone 12 시뮬레이터로 실행
react-native run-ios --simulator="iPhone 12"
반응형
'React Native' 카테고리의 다른 글
main.jsbundle 파일 만드는 매크로 (0) | 2021.07.02 |
---|---|
Invariant Violation: requireNativeComponent: “RNSScreen” was not found in the UIManager (2) | 2021.06.29 |
event2/event-config.h file not found (0) | 2021.03.23 |
Error - Unable to resolve module ~ from 'node_modules ~ HMRClient.js (0) | 2021.03.02 |
No bundle URL present ~~ a.jsbundle file in your application bundle." (0) | 2021.02.15 |