<GoogleMaps/GoogleMaps.h> not found ver 0.12.2, react native 0.37.0. Please help
Step:
- Touch Podfile
- Copy Podfile in example and past my podfile
- Pod install
- Drag node_modules/react-native-maps/ios/AirGoogleMaps/
try pod 'GoogleMaps', '~> 2.1.1' in your podfile instead of pod 'GoogleMaps'. Worked for me!
I try , but not working
I was having the same issue where I could see <GoogleMaps/GoogleMaps.h> not found in the compiler output, but the maps were still working. So I tried opening the Xcode project and tried building it there. It turned out that the Tests bundle was the one that was causing the error. Double checking the search paths for the tests, I found that it was not inheriting the same paths that the app target was. Specifically, it wasn't inheriting the ios/Pods/Headers/Public path, which is where GoogleMaps.h is.
You could add the path yourself manually, but I just omitted the tests bundle from the build by editing the scheme settings and unchecking "Run" for the Tests bundle. I think the search paths get filled out by react-native link? So maybe something can be done fix the search paths for the Tests.
install 0.15.2 & react native 0.45 -> Worked
@2ducanhpham didn't work for me :(