模拟器上显示红屏,信息如下:
No script URL provided. Make sure the packager is running or you have embedded a JS bundle in your application.
bundle.unsanitizedScriptURLString:((null))
模拟器上显示红屏,信息如下:
No script URL provided. Make sure the packager is running or you have embedded a JS bundle in your application.
bundle.unsanitizedScriptURLString:((null))
react-native bundle --dev false --assets-dest ./ios --entry-file index.ios.js --platform ios --bundle-output ios/main.jsbundle然后Run,或者是直接npm start然后在Run