[报错]iOS 友盟SDK在iPhone5s以下模拟器上无法运行

参考文章:http://blog.csdn.net/shuai265/article/details/51814323

问题描述

在用iPhone4,4s,5模拟器调试项目的时候跑不起来,并报错,但是真机上可以运行
报错信息:

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)  

问题原因

[报错]iOS 友盟SDK在iPhone5s以下模拟器上无法运行_第1张图片

腾讯的SDK移除了对i386架构的支持,而iPhone4,4s,5都是i386架构的

解决方法

想调试iPhone4,4s,5现在只能用真机了

你可能感兴趣的:([报错]iOS 友盟SDK在iPhone5s以下模拟器上无法运行)