本文介绍了NSThread gtm_performBlock错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在iOS版Google Maps SDK中运行街景示例,并遇到以下错误:

I am trying to run the Street View example in the Google Maps SDK for iOS docs and am getting the following error:

奇怪的是,我可以让街景视图在某些项目中工作,而在其他项目中却不能.我已经尝试了Google 1.4.3和1.4.2框架,但仍然收到此错误.知道是什么原因造成的吗?

The strange thing is that I can get Street View to work in some projects and not others. I have tried both the Google 1.4.3 and 1.4.2 Frameworks and still get this error. Any idea what is causing it?

推荐答案

选择您的项目而不是特定的目标,然后打开构建设置" 标签:

Choose your project, rather than a specific target, and open the Build Settings tab:

-在 Other Linker Flags (其他链接器标记)部分中,添加 -ObjC .如果看不到这些设置,请将构建设置栏中的过滤器从基本更改为全部.

-In the Other Linker Flags section, add -ObjC. If these settings are not visible, change the filter in the Build Settings bar from Basic to All.

来源: https://developers.google.com/maps/documentation/ios/start#getting_the_google_maps_sdk_for_ios

这篇关于NSThread gtm_performBlock错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 02:11