我使用cocoapods来安装成功构建的upnpx库。但是一旦我在使用其中一个类之后进行构建在我的项目中我遇到了这个错误:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_UPnPManager", referenced from:
objc-class-ref in RendererView.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
答案 0 :(得分:1)
SOLVED: For me, setting "Build active architectures only" to YES in build settings of the project target resolves this issue