만들어야되는 상황이 발생
package.json의 scripts항목에 넣어주고
"scripts": {
"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'",
..........
}
yarn build:ios 로 실행
반응형
'React Native' 카테고리의 다른 글
SafeAreaView의 상단을 참조안하는 방법에 대해 (0) | 2021.07.07 |
---|---|
xcode 12.4버전 아래에서만 컴파일되던 리액트네이티브 프로젝트... (0) | 2021.07.05 |
Invariant Violation: requireNativeComponent: “RNSScreen” was not found in the UIManager (2) | 2021.06.29 |
rn 시뮬레이터를 지정해서 실행하기 (0) | 2021.06.22 |
event2/event-config.h file not found (0) | 2021.03.23 |