我正在尝试存档我的第一个iOS项目,但我收到以下错误。似乎我用于身份验证的Facebook SDK和Google Plus SDK存在一些问题。我在stackoverflow上遇到过类似的问题,但没有一个解决方案对我有帮助。任何帮助,将不胜感激。提前谢谢。
<pre>
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FBRequest", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_GTMLogger", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_GTLQueryPlus", referenced from:
objc-class-ref in LoginViewController.o
"_kGTLAuthScopePlusLogin", referenced from:
-[LoginViewController getInfoForGoogle] in LoginViewController.o
"_OBJC_CLASS_$_GTLServicePlus", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_GPPURLHandler", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_GPPSignIn", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_FBSession", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in LoginViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
</pre>
答案 0 :(得分:5)
您使用的框架不支持arm64,即不适用于64位设备,您可以检查更新的框架是否可用,或者从构建中排除arm64
将构建设置中的体系结构设置为标准体系结构(armv7,armv7s)