1.按官方文档和网上教程装好微博SDK后运行报错:Undefined symbols for architecture arm64:
“OBJC_CLASS$_PHAsset”, referenced from:
objc-class-ref in libWeiboSDK.a(WBImageObject.o)
objc-class-ref in libWeiboSDK.a(WBNewVideoObject.o)
“OBJC_CLASS$_PHAssetChangeRequest”, referenced from:
objc-class-ref in libWeiboSDK.a(WBImageObject.o)
objc-class-ref in libWeiboSDK.a(WBNewVideoObject.o)
“OBJC_CLASS$_PHPhotoLibrary”, referenced from:
objc-class-ref in libWeiboSDK.a(WBImageObject.o)
objc-class-ref in libWeiboSDK.a(WBNewVideoObject.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocati
如图: