用Xcode创建的项目, 使用了DOUAudioStreamer这个第三方, 但是编译的时候,出现提示
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_DOUMPMediaLibraryAssetLoader", referenced from:
objc-class-ref in DOUAudioFileProvider.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方法:
在DOUMPMediaLibraryAssetLoader的.h和.m文件中的开头和结尾, 注释掉或删除
#if TARGET_OS_IPHONE 和
#endif
网友评论