I'm using Xcode 9, everything was fine. but after I upgrade my React-native version to 0.46, and upgrade my React to 16.0.0 alpha12. and re-run my project, Xcode gives me an error 'boost/config/user.hpp' file not found
, I use brew install boost
to install boost. but it doest work.
It seems like something wrong with react-native, because I can use Xcode to create a new iOS project and works fine, but when I use 'react-native init newProject', It gives me the same error.
Just remove the cache and the third_party folder in react-native in node modules
rm -r ~/.rncache
rm -r <your-project>/node_modules/react-native/third_party