When attempting to set up a new React Native project using npx react-native init projectName
or executing pod install
within the iOS folder, you may encounter a frustrating roadblock during the pod install
phase, specifically with glog on macOS. The error typically looks like this:
-> Installing glog (0.3.5)
...
...
patching file config.sub
Hunk #1 FAILED at 1096.
1 out of 1 hunk FAILED -- saving rejects to file config.sub.rej