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)
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:
"_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)
How to solve it? I also encountered this problem
Link Binary With Libraries Import the following system libraries
CoreMotion.framework
libresolv.tbd
AudioToolbox.framework
AVFoundation.framework