In X-Code project of react native, getting error
config.h file not found.
Here is version detail :
react-native-cli: 2.0.1 react-native: 0.51.0
How to solve it?
npx react-native run-ios is one way to run your app. You can also run it directly from within Xcode.
React Native CLI has a configuration mechanism that allows changing its behavior and providing additional features. React Native CLI can be configured by creating a react-native. config. js at the root of the project. Depending on the type of a package, the set of valid properties is different.
Close Xcode.
Open Terminal, go to your project's root folder and run:
cd node_modules/react-native/third-party/glog-0.3.4/
Run the configure script:
./configure
Open Xcode and try to run your app.
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