Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources ios ios

Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources


The instructions are kinda lacking. I hope this helps...

  1. Launch Xcode (easy)
  2. Drag the GoogleMaps.framework bundle to the Frameworksgroup of your project. When prompted, select Copy items intodestination group's folder.

  3. Right-click GoogleMaps.framework in your project, and select Show InFinder. What it doesn't say is...Then go into the child folder called Resources

  4. Drag the GoogleMaps.bundle from the Resources folder to yourproject. We suggest putting it in the Frameworks group. Whenprompted, ensure Copy items into destination group’s folder is notselected.


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:

  1. Clean Build: Command + alt option + Shift + K
  2. Clean Project: Command + Shift + K

Then voila! Crash won't happen again.


If you are experiencing this issue in a more recent version of this framework and are using the CocoaPods deployment, then check that the "Copy Pods Resources" section of "Build Phases":

enter image description here

Apparently this section going missing is a thing and deleting your Pods directory and re-running "pod install" isn't sufficient to fix it. Instead you will need to grab this handy tool:

https://github.com/CocoaPods/cocoapods-deintegrate

Run this thing and then re run pod install and your "Copy Pods Resources" section should be back and you won't get this exception when you instantiate your map.