Print: Entry, ":CFBundleIdentifier", Does Not Exist
删除原有 boost
sudo rm –rf /usr/local/include/boost
sudo rm –rf /usr/local/lib/libboost_*
brew uninstall boost重新从官网下载 Boost
cd ./node_modules/react-native/third-party查看 boost 版本号,从官方网站上面下载 boost https://www.boost.org/users/download/。
可以下载适合你的版本。
替换 .rncache 目录下面的 boost 包
将下载的 boost 包复制至 .rncache 目录下,解压该文件,
cd ./boost_1_63_0
./booststrap.sh
sudo ./b2 install再次尝试应该是可以了
react-native run-ios如果还不行的话,可以试试直接将/opt/local/include/boost复制至./node_modules/react-native/third-party目录下。