Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources
Solution 1:
The instructions are kinda lacking. I hope this helps...
- Launch Xcode (easy)
Drag the GoogleMaps.framework bundle to the Frameworks group of your project. When prompted, select Copy items into destination group's folder.
Right-click GoogleMaps.framework in your project, and select Show In Finder. What it doesn't say is...Then go into the child folder called Resources
Drag the GoogleMaps.bundle from the Resources folder to your project. We suggest putting it in the Frameworks group. When prompted, ensure Copy items into destination group’s folder is not selected.
Solution 2:
To the 2017 people searching on SO, the easiest way is indeed try the installing and updating your pod by of course pod install
and pod update
. Then finally, clean the project and the build by these two commands:
- Clean Build:
Command + alt option + Shift + K
- Clean Project:
Command + Shift + K
Then voila! Crash won't happen again.