some time ago, every time I start a new project of react-native or when I install the modules I present this error.
\'glog/logging.h\' file not found
.
Hope this help
info Fetching system and libraries information...
System:
OS: macOS 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
Memory: 680.81 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.8.1 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.10.3 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
IDEs:
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
react-native-macos-cli: 2.0.1
=====================================
1. rm -rf node_modules/ && yarn cache clean && yarn install
2. rm -rf ~/.rncache
3. cd node_modules/react-native/scripts
4. ./ios-install-third-party.sh (install folly-2016.10.31.00 double-conversion glog)
5. cd /node_modules/react-native/third-party/glog*
6. ./configure
7. Xcode clean (Cmd + Shift + K) and build (react-native run-ios).