following these steps:
(1) open ios file project with code
(2) in the project bundle delete main.jsbundle file
(3) add a new empty file by main.jsbundle name
(4) Run command: react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios
now react-native run-ios
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.