简体   繁体   English

Objective-C-Google Maps 1.8.1-iOS 7.1

[英]Objective-C - Google Maps 1.8.1 - iOS 7.1

I had already added the framework in my project. 我已经在我的项目中添加了框架。 Everything was working perfectly fine. 一切工作都很好。 When I updated the framework happens the following exception: 当我更新框架时,发生以下异常:

'-[GMSCachedTile setPerTileExpiration:]: unrecognized selector sent to instance 0x1933d3a0'

Tried to return to the previous version, but the same thing keeps happening. 试图返回到以前的版本,但同一件事不断发生。

PS: ITried Clean and build, but without success. PS:ITried清理并构建,但未成功。

Remove (Move to trash dont remove reference only) old SDK, download and drag latest one. 删除(移至垃圾箱,不要删除参考)旧的SDK,下载并拖动最新的SDK。 Run clean and It is done. 运行干净,它就完成了。

When we add the Google Maps framework to our project it creates a reference to framework automatically in Build Settings on Framework search paths. 当我们将Google Maps框架添加到项目中时,它会在“框架”搜索路径上的“构建设置”中自动创建对框架的引用。 When we exclude the framework he does not remove automatically this reference. 当我们排除框架时,他不会自动删除此引用。

Turns out I came across references the old version of the framework that was using. 原来,我遇到了引用所使用的框架的旧版本。 I removed this reference and it worked perfectly. 我删除了此参考,它运行良好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM