搜索

首页  >  问答  >  正文

ios - 集成阿里云旺导入 sdk 报错

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)

迷茫迷茫2771 天前667

全部回复(4)我来回复

  • PHPz

    PHPz2017-04-18 09:52:08

    链接CoreMotion库

    回复
    0
  • 迷茫

    迷茫2017-04-18 09:52:08

    大神好,我链接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)

    回复
    0
  • PHP中文网

    PHP中文网2017-04-18 09:52:08

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

    回复
    0
  • PHP中文网

    PHP中文网2017-04-18 09:52:08

    Link Binary With Libraries 导入下面系统库

    1. CoreMotion.framework

    2. libresolv.tbd

    3. AudioToolbox.framework

    4. AVFoundation.framework

    回复
    0
  • 取消回复