ios - 集成阿里云旺导入 sdk 报错
迷茫
迷茫 2017-04-18 09:50:08
0
4
662
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)

迷茫
迷茫

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

reply all(4)
PHPzhong

Link CoreMotion library

迷茫

Hello God, I still have errors after linking to coremotion. I don’t know how to solve it. Please help me. Thank you!

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)

洪涛

How to solve it? I also encountered this problem

洪涛

Link Binary With Libraries Import the following system libraries

  1. CoreMotion.framework

  2. libresolv.tbd

  3. AudioToolbox.framework

  4. AVFoundation.framework

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template