Xcode10.0: NO BUNDLE URL PRESENT
解决方案
1.删除build, 重新运行, 没有work
> cd YOUR_PROJECT
> rm -r build 删除build文件夹
> react-native run-ios 再次运行
2.删除node_modules, npm i, 重新运行, 没有work
当模拟器正在启动,不要关闭你的bundler,重新
> npm install
> react-native run-ios
3.删除端口占用
lsof -i tcp:port
kill pid
4.代理设置, 可能work了
之前设置用了xx-net,设置了代理。
禁用proxy,可能work了,因为我昨天晚上太迟去睡觉了,第二天运行,成功了。
参考:
https://powercoder23.wordpress.com/2017/10/29/solved-no-bundle-url-present/
本博客所记录的文章,主要是从网络收集的,有一些因为经过多次转载,所以出处已经不知,若是侵权,请通知我,我及时修改。本博客主要是用来记录我对所写文章的理解,若有错误,请大家指点,相互学习!