架构arm64的未定义符号:"_ OBJC_CLASS _ $ _ Twitter", [英] Undefined symbols for architecture arm64: "_OBJC_CLASS_$_Twitter",
本文介绍了架构arm64的未定义符号:"_ OBJC_CLASS _ $ _ Twitter",的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_Twitter", referenced from:
objc-class-ref in FirebaseTwitterAuthUI(FUITwitterAuth.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
当我要构建项目时出现错误.
I am having that error when I want to build the project.
有什么办法解决这个问题吗?
Any idea how to fix this?
推荐答案
检查所导入的框架是否已定义该体系结构:
Check that the framework you are importing has that architecture defined:
在终端运行中:
lipo -info
lipo -info
输出应类似于:arm64 armv7 armv7s
The output should be something like:arm64 armv7 armv7s
如果没有, 1.您的库是错误的,并且缺少该架构 2.您的构建设置不包括该体系结构 3.您未正确链接库
If not, 1. your library is wrong and is missing that architecture 2. Your build settings doesn’t include that architecture 3. You are not linking the library correctly
这篇关于架构arm64的未定义符号:"_ OBJC_CLASS _ $ _ Twitter",的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文