file not found Google Maps SDK for iOS

后端 未结 10 1889
故里飘歌
故里飘歌 2020-12-06 19:04

Yesterday I recived an email from google saying that I could acces to the map api for ios, I generated my key from the app console and I follow the steps of https://develope

10条回答
  •  悲&欢浪女
    2020-12-06 19:35

    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"

提交回复
热议问题