乐视移动直播遇到的坑
(一)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_LECLogBaseReport", referenced from:
_OBJC_CLASS_$_LECMobileLogReport in libLECMobilePlayerSDK.a(LECMobileLogReport.o)
"_OBJC_METACLASS_$_LECLogBaseReport", referenced from:
_OBJC_METACLASS_$_LECMobileLogReport in libLECMobilePlayerSDK.a(LECMobileLogReport.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
http://blog.csdn.net/baybaymax/article/details/44746317
解决办法:可以尝试删掉(-ObjC和-all_load)或者(-all_load)单独设置-force_load只加载使用到的类别的静态库。 -force_load
(二)
解决办法:在TARGETS--> General -->Link Frameworks and Libraries 点击"+"号添加 Add Other