iOS build got failed due to fatal error: module 'GoogleMapsBase' not found
i followed this doc also https://github.com/airbnb/react-native-maps/blob/master/docs/installation.md and used this package : https://github.com/airbnb/react-native-maps
These are the steps I have already done.
here is my Podfile
target 'ios_user' do
rn_path = '../node_modules/react-native'
pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/Yoga.podspec"
pod 'React', path: rn_path, subspecs: [
'Core',
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket',
'BatchedBridge'
]
pod 'GoogleMaps'
pod 'react-native-maps', path: '../node_modules/react-native-maps'
pod 'react-native-google-maps', path: '../node_modules/react-native-maps'
end
these are the dependencies in package.json file
"dependencies": {
"moment": "^2.19.1",
"react": "16.0.0-beta.5",
"react-native": "0.49.2",
"react-native-elements": "^0.17.0",
"react-native-maps": "^0.17.1",
"react-native-simple-radio-button": "^2.6.2",
"react-native-vector-icons": "^4.4.0",
"validate.js": "^0.11.1"
},
Finally i found the solution for this error.
Do not link AND use cocoapods. Do one of those two :)
ref : https://github.com/airbnb/react-native-maps/issues/1722#issuecomment-338962189