欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

React Native异常

程序员文章站 2022-06-24 20:16:40
React Native异常 1.Command /bin/sh failed with exit code 1 项目->Build Phases->Bundle...

React Native异常

1.Command /bin/sh failed with exit code 1

项目->Build Phases->Bundle React Native code and images -> 勾选 Run script only when installing

2.'boost/iterator/iterator_adaptor.hpp' file not found

/Users/liufu/Desktop/test3/node_modules/react-native/third-party/folly-2016.09.26.00/folly/Conv.cpp:16:10: In file included from /Users/liufu/Desktop/test3/node_modules/react-native/third-party/folly-2016.09.26.00/folly/Conv.cpp:16: 如下提示,文件缺失,/Users/liufu/Desktop/test3/node_modules/react-native/third-part/中文件需要被替换掉,网上下载rncache包。

3.IOS reload快捷键

control+command+z