I initialized a react native project. It installed with 0.45.0 version of react-native.
XCode isn't able to build it. There is a problem with config.hpp file. Error is highlighted in red color, which says "'boost/config/user.hpp' file not found"
You will need Node, Watchman, the React Native command line interface, a Ruby version manager, Xcode and CocoaPods. While you can use any editor of your choice to develop your app, you will need to install Xcode in order to set up the necessary tooling to build your React Native app for iOS.
Add new React to scheme In Xcode, select Product > Scheme > Edit Scheme On the left, Select Build Old React should be missing here, so delete it by clicking - button on the bottom. Add new React with + button, select it from Pods project Grab and move React to the top of the list.
React Native is an open-source UI software framework created by Meta Platforms, Inc. It is used to develop applications for Android, Android TV, iOS, macOS, tvOS, Web, Windows and UWP by enabling developers to use the React framework along with native platform capabilities.
Been struggling with this issue all day today. Looks like there might be something in the latest version of react-native that is causing the build issues. And I tried just about everything to fix it.
Not sure what the long-term solution is, but I just rolled back to 0.44.0 and that seems to be working for me as a temporary fix.
react-native init MyAwesomeApp --version [email protected]
delete $APP_DIR/node_modules/react-native/third-party/glog-0.3.4
download glob-0.3.5 from https://github.com/google/glog replace glob-0.3.4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With