<googlemaps googlemaps.h =“”>找不到文件</googlemaps>

时间:2013-08-26 12:58:01

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

我正在尝试将Google地图集成到我的xcode项目中。 我严格遵循here的指示。不幸的是我收到了一个错误:

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

我从&lt;&gt;更改了到“”,现在它找到GoogleMaps.h!

但是,我得到了与SDK中包含的其他35个标头相同的错误。我不能编辑它们中的每一个,我也不想这样做需要花费很多时间+这可能是错误的方法。

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

我在这里做错了什么?

等待回答, 亚当。

2 个答案:

答案 0 :(得分:1)

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

enter image description here

答案 1 :(得分:0)

你可以尝试

 # import "GoogleMapsM4B/GoogleMaps.h"