(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
1条答案
按热度按时间deyfvvtc1#
遵循以下步骤: