not able to use Google map sdk in ios

不想你离开。 提交于 2019-11-29 07:53:09

As we have already said in the comments, you are using the wrong library - Google Maps SDK for Work iOS (business) but you are trying to generate a Key for Google Maps SDK for iOS (you are using: #import <GoogleMapsM4B/GoogleMaps.h> instead #import <GoogleMaps/GoogleMaps.h>

For the GoogleMaps framework you need to install cocoa pods and in then type the following in terminal pod try GoogleMaps This will install the pod and and download the googlemaps framework. It will open a sample project on completion. You can find the framework and map bundle in the project. Using this framework my issue was resolved. Below is the complete path of the framework on my machine: /private/var/folders/9b/w5tw8dwx3vsddqw1g0r1rksr0000gn/T/CocoaPods/Try

Hope this helps :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!