error unrecognized selector sent to class while adding Google Map SDK to iOS6

让人想犯罪 __ 提交于 2019-11-29 09:21:55
Saxon Druce

Did you add -ObjC to the Other Linker Flags, in step 7 of the instructions?

-- Extra information edit: note that -ObjC is case sensitive.

I had the same problem. Make sure you add the -ObjC flag to the 'Build Settings' of your 'Target' and NOT 'Project'.

P.S. Adding it in both places doesn't break it either.

Google Doc says Choose your project, rather than a specific target, and open the Build Settings tab. 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. Sometimes this is wrong.... I had to add the linker flag to the target as well, to get it to work. This should help someone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!