xcode 架构 armv7 的未定义符号?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8559256/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Undefined symbols for architecture armv7?
提问by Sanchit Paurush
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_Facebook", referenced from:
objc-class-ref in VideoPlayerController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is the Error that I am facing. Please give me the solution
这是我面临的错误。请给我解决方案
回答by Ugur
I finally solved the problem. Check the Library Search Paths in Build Phases. Xcode might have confused your library and you may need to correct it yourself by filling it "../lib" which is your Facebook SDK folder.
我终于解决了这个问题。检查构建阶段中的库搜索路径。Xcode 可能混淆了您的库,您可能需要通过填写“../lib”(即您的 Facebook SDK 文件夹)来自行更正它。