RN Exception: iOS——No bundle URL present. Make sure you're running a packager server or have inc...

异常
No bundle URL present.

Make sure you're running a packager server or have included a .jsbundle file in your application bundle.
解决方法

手动生成,然后将 bundle文件链接到项目中,即可。

react-native bundle --dev true --entry-file index.ios.js --bundle-output ios/main.jsbundle --platform ios
    原文作者:_凌浩雨
    原文地址: https://www.jianshu.com/p/87f941acf48f
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞