Xcode compile error: 'boost/config/user.hpp' file not found"
There is always an compiled error when running xcode with react-native recently:
Current solution is to download new boost, extract it and then overwrite it in the react-native/third-party folder. It works but too slowly, you need to copy over 100MB files.
I try to just copy config folder, but seems not work. This problem has been occured in several projects.
The last solution is clean the cache:
Lexical or Preprocessor Issue Group:
...node_modules/react-native/third-party/boost_1_63_0/boost/config.hpp:30:12: 'boost/config/user.hpp' file not found
Current solution is to download new boost, extract it and then overwrite it in the react-native/third-party folder. It works but too slowly, you need to copy over 100MB files.
I try to just copy config folder, but seems not work. This problem has been occured in several projects.
The last solution is clean the cache:
rm -rf ~/.rncache
rm -rf node_modules/react-native/third-party
Comments
Post a Comment