美文网首页iOS Developer
集成环信报_OBJC_CLASS_$_XXX", re

集成环信报_OBJC_CLASS_$_XXX", re

作者: LeoZzz | 来源:发表于2017-06-14 10:16 被阅读799次

    一、集成环信SDK

    1)按照官方文档一步一步集成,添加相关依赖库。
    2)其中环信官方文档提示说在上传AppStore的时候 ,因 i386 x86_64 armv7 arm64 几个平台都合并到了一起,所以使用动态库上传appstore时需要将i386 x86_64两个平台删除后,才能正常提交审核。如果在未提交审核的时候删除掉,集成到工程里面,会报

     "_OBJC_CLASS_$_EMChatImage", referenced from:
    
          objc-class-ref in ChatSendHelper.o
    
         maybe you meant: _OBJC_CLASS_$_EMChatImageBubbleView)
    
      "_OBJC_CLASS_$_EMChatLocation", referenced from:
    
          objc-class-ref in ChatSendHelper.o
    
         (maybe you meant: _OBJC_CLASS_$_EMChatLocationBubbleView)
    
      "_OBJC_CLASS_$_EMChatText", referenced from:
    
          objc-class-ref in ChatSendHelper.o
    
         (maybe you meant: _OBJC_CLASS_$_EMChatTextBubbleView)
    
      "_OBJC_CLASS_$_EMImageMessageBody", referenced from:
    
          objc-class-ref in ChatSendHelper.o
    
      "_OBJC_CLASS_$_EMLocationMessageBody", referenced from:
    
          objc-class-ref in ChatSendHelper.o
    
      "_OBJC_CLASS_$_EMMessage", referenced from:
    
          objc-class-ref in ChatSendHelper.o
    
      "_OBJC_CLASS_$_EMTextMessageBody", referenced from:
    
          objc-class-ref in ChatSendHelper.o
    
      "_OBJC_CLASS_$_EMVideoMessageBody", referenced from:
    
          objc-class-ref in ChatSendHelper.o
    
      "_OBJC_CLASS_$_EMVoiceMessageBody", referenced from:
    
          objc-class-ref in ChatSendHelper.o
    

    以上错误,因为删掉那俩个文件之后 ,只支持真机调试,不删除的话可以支持真机和模拟器调试。
    希望能帮助到遇到此问题的童鞋!

    相关文章

      网友评论

        本文标题:集成环信报_OBJC_CLASS_$_XXX", re

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