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

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板