ios - 未找到 <GoogleMaps/GoogleMaps.h> 文件

标签 ios xcode google-maps compiler-errors file-not-found

我正在尝试将 Google map 集成到我的 xcode 项目中。 我严格按照说明here .不幸的是我得到一个错误:

error: 'GoogleMaps/GoogleMaps.h' file not found with <angled> include; use "quotes" instead
#import <GoogleMaps/GoogleMaps.h>
    ^~~~~~~~~~~~~~~~~~~~~~~~~
    "GoogleMaps/GoogleMaps.h"

我从 <> 更改为 "",现在它找到了 GoogleMaps.h!

但是,我在 SDK 中包含的其他 35 个 header 中遇到了相同的错误。我无法编辑它们中的每一个,我也不想这样做,因为这会花费很多时间 + 这可能是错误的方法。

我对 xcode 不是很熟悉,但我在互联网上找到了一些主题,但没有一个真正对我有帮助。

我在这里做错了什么?

等待答案, 亚当。

最佳答案

转到搜索导航器(CMD+3)选择左侧的替换并点击“全部替换”

enter image description here

关于ios - 未找到 <GoogleMaps/GoogleMaps.h> 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18444727/

相关文章:

javascript - 在 Google map 上添加点击标记以计算到标记的距离

ios - 如何知道是否已经询问了 locationManager.requestAlwaysAuthorization()

iOS Storyboard后退按钮

ios - UICollectionView 没有名为 dequeueResuableCellWithReuseIdentifier 的成员

IOS 应用程序崩溃,但没有可用的崩溃日志

javascript - 如何计算基于 Google API 的 Web 应用程序中的 API 调用次数

ios - Xcode std::__1::basic_ostream undefined symbol

ios - Swift 中的条纹

ios - 在 iPhone 上调试 iOS 应用程序时遇到问题

android - 在选项卡内的 map fragment 底部添加一个 View