Framework not found GoogleMaps sdk in iOS

后端 未结 12 2087
伪装坚强ぢ
伪装坚强ぢ 2020-12-08 20:14

I want to use google map to existing(not a new one) iPhone project.Now i am using Google map ios sdk and i successfully added google map framework to my project.But i got er

12条回答
  •  无人及你
    2020-12-08 21:09

    I've been struggling with this issue for hours; I'm using CocoaPods, Swift and Xcode 6.1.1. I followed all the steps for including GoogleMaps in my project carefully, tried many different things like removing symbolic links in the downloaded package or manually linking the binaries in build phases or trying #include "GoogleMaps.h", #include "GoogleMaps/GoogleMaps.h" and "#include in my bridge file, none of that worked... Finally used CocoaPods instead of including the framework myself and it worked! Hope it helps someone out there:

    In the Podfile:

    pod 'Google-Maps-iOS-SDK', '~> 1.9.2'

    And in your Bridge file:

    #import "GoogleMaps.h"

提交回复
热议问题