错误如下:
我更新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:
解决办法:
修改Build Settings里的Build Active Architecture Only 下的选项Debug改为YES Release 改为NO