我已经使用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)发布于 2015-07-13 21:08:24
解决方案:对我来说,在项目目标的构建设置中将“只构建活动架构”设置为是解决了这个问题。
https://stackoverflow.com/questions/31228789
复制相似问题