最新的Google Plus iOS SDK 1.7.1不支持x86_64架构 [英] Latest Google Plus iOS SDK 1.7.1 not supporting architecture x86_64
本文介绍了最新的Google Plus iOS SDK 1.7.1不支持x86_64架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的项目中有cocoapods管理的最新Google Plus iOS SDK。
I have the latest Google Plus iOS SDK managed by cocoapods in my project.
pod 'google-plus-ios-sdk' ~> '1.7.1' #(Also tried 1.5.1)
简单代码为:
#import <GooglePlus/GooglePlus.h>
[GPPSignIn sharedInstance].clientID = kClientID;
我收到此错误:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GPPSignIn", referenced from:
objc-class-ref in GooglePlusManager.o
"_OBJC_CLASS_$_GPPURLHandler", referenced from:
objc-class-ref in GooglePlusManager.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我有 $(继承)
和 -ObjC
在我的其他链接器标志
中。 Google Plus iOS SDK根本不支持x84_64架构吗?我该如何解决这个问题?谢谢
I have $(inherited)
and -ObjC
in my Other Linker Flags
. Does Google Plus iOS SDK not support x84_64 architecture at all? How do I fix this issue? Thanks
推荐答案
嗯,我的测试目标中有GooglePlusManager。从编译源中删除它修复它。
Uhm turn out I have GooglePlusManager in my test target. Remove it from the compile Sources fixed it.
这篇关于最新的Google Plus iOS SDK 1.7.1不支持x86_64架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文