集成环信报_OBJC_CLASS_$_XXX", re
2017-06-14 本文已影响799人
LeoZzz
一、集成环信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
以上错误,因为删掉那俩个文件之后 ,只支持真机调试,不删除的话可以支持真机和模拟器调试。
希望能帮助到遇到此问题的童鞋!