ios - 集成阿里云旺导入 sdk 报错
迷茫
迷茫 2017-04-18 09:50:08
0
4
665
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_CMMotionManager", referenced from:
      objc-class-ref in SGMain(SGMain99999999.o)
  "_res_9_ninit", referenced from:
      +[WXReachability isIPv6Only] in WXOpenIMSDKFMWK(Reachability.o)
      isIPv6Only() in WXOpenIMSDKFMWK(IOSINetImpl.o)
  "_res_9_getservers", referenced from:
      +[WXReachability isIPv6Only] in WXOpenIMSDKFMWK(Reachability.o)
      isIPv6Only() in WXOpenIMSDKFMWK(IOSINetImpl.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

全部回复(4)
PHPzhong

链接CoreMotion库

迷茫

大神好,我链接coremotion后还有错误,不知道怎么解决,请大神帮下忙,谢谢啦!

Undefined symbols for architecture arm64:
"_res_9_ninit", referenced from:

  +[WXReachability isIPv6Only] in WXOpenIMSDKFMWK(Reachability.o)
  isIPv6Only() in WXOpenIMSDKFMWK(IOSINetImpl.o)

"_res_9_getservers", referenced from:

  +[WXReachability isIPv6Only] in WXOpenIMSDKFMWK(Reachability.o)
  isIPv6Only() in WXOpenIMSDKFMWK(IOSINetImpl.o)

ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

洪涛

怎么解决了,我也遇到这个问题了

洪涛

Link Binary With Libraries 导入下面系统库

  1. CoreMotion.framework

  2. libresolv.tbd

  3. AudioToolbox.framework

  4. AVFoundation.framework

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板