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)
連結CoreMotion庫
大神好,我連結coremotion後還有錯誤,不知道怎麼解決,請大神幫下忙,謝謝啦!
Undefined symbols for architecture arm64:
"_res_9_ninit", referenced from:
"_res_9_getservers", referenced from:
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 導入下面系統庫
CoreMotion.framework
libresolv.tbd
AudioToolbox.framework
AVFoundation.framework