Terminating app due to uncaught exception ‘RCTFatalException: No bundle URL present.这里针对的是打包集成了react-native-pushy离线发布的打包的报错处理!
可以通过生成js bundle来解决解决。
react-native bundle –dev false –assets-dest ./ios –entry-file index.ios.js –platform ios –bundle-output ios/main.jsbundle
注意index.ios.js现在对于新版RN需要替换成index.js,
react-native bundle –dev false –assets-dest ./ios –entry-file index.js –platform ios –bundle-output ios/main.jsbundle