美文网首页
友盟分享sdk,编译提示i386符号没定义

友盟分享sdk,编译提示i386符号没定义

作者: 可微微可可可 | 来源:发表于2016-08-15 17:56 被阅读270次

在使用5.2.1版本友盟iOS分享sdk时,模拟器编译运行会提示缺失i386架构的问题 ,具体报错如下:

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:

objc-class-ref in libSocialQQ.a(UMSocialQQHandler.o)

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

这是由于最新版本的QQ sdk去除了i386架构的支持

因此,后续凡使用了新版QQ sdk,都只要在真机运行通过即可

相关文章

网友评论

      本文标题:友盟分享sdk,编译提示i386符号没定义

      本文链接:https://www.haomeiwen.com/subject/doiusttx.html