友盟第三方 5.2.1報 "_OBJC_CLASS_$_QQApiAudioObject", referenced from:
阿新 • • 發佈:2019-02-16
我更新5.2.1,在真機上執行沒有問題,但在模擬器上就有9個錯誤,
Undefined symbols for architecture i386: "_OBJC_CLASS_$_QQApiAudioObject", referenced from: objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o) "_OBJC_CLASS_$_QQApiImageObject", referenced from: objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o) "_OBJC_CLASS_$_QQApiInterface", referenced from:
objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o)
"_OBJC_CLASS_$_QQApiNewsObject", referenced from:
objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o)
"_OBJC_CLASS_$_QQApiTextObject", referenced from:
objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o)
"_OBJC_CLASS_$_QQApiVideoObject", referenced from:
objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o)
"_OBJC_CLASS_$_SendMessageToQQReq", referenced from:
objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o)
"_OBJC_CLASS_$_TencentOAuth", referenced from:
Undefined symbols for architecture i386: "_OBJC_CLASS_$_QQApiAudioObject", referenced from: objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o) "_OBJC_CLASS_$_QQApiImageObject", referenced from: objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o) "_OBJC_CLASS_$_QQApiInterface", referenced from:
解決辦法:
修改Build Settings裡的Build Active Architecture Only 下的選項Debug改為YES Release 改為NO