Undefined symbols for architecture x86_64:
"_OBJCCLASS$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_CNCopyCurrentNetworkInfo", referenced from:
-[AMapStatistics fetchSSIDInfo] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"inflateInit2", referenced from:
+[AMapFoundationCompression GZipInflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
_unzOpenCurrentFile3 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_inflate", referenced from:
+[AMapFoundationCompression GZipInflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
_unzReadCurrentFile in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_CNCopySupportedInterfaces", referenced from:
-[AMapStatistics fetchSSIDInfo] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_SCError", referenced from:
-[AMapFoundationReachability startNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_deflateEnd", referenced from:
_zipCloseFileInZipRaw64 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
+[AMapFoundationCompression GZipDeflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_crc32", referenced from:
_zipWriteInFileInZip in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
_unzReadCurrentFile in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"deflateInit2", referenced from:
_zipOpenNewFileInZip4_64 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
+[AMapFoundationCompression GZipDeflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_get_crc_table", referenced from:
_zipOpenNewFileInZip4_64 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
_unzOpenCurrentFile3 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_SCNetworkReachabilitySetDispatchQueue", referenced from:
-[AMapFoundationReachability startNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
-[AMapFoundationReachability stopNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_SCNetworkReachabilityGetFlags", referenced from:
-[AMapFoundationReachability reachabilityFlags] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
-[AMapFoundationReachability isReachable] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
-[AMapFoundationReachability isReachableViaWWAN] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
-[AMapFoundationReachability isReachableViaWiFi] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_SCNetworkReachabilitySetCallback", referenced from:
-[AMapFoundationReachability startNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
-[AMapFoundationReachability stopNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_inflateEnd", referenced from:
+[AMapFoundationCompression GZipInflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
_unzCloseCurrentFile in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_deflate", referenced from:
_zipWriteInFileInZip in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
_zipCloseFileInZipRaw64 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
+[AMapFoundationCompression GZipDeflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_SCErrorString", referenced from:
-[AMapFoundationReachability startNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
"_SCNetworkReachabilityCreateWithAddress", referenced from:
-[AMapFoundationReachability init] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing All Issues Ld /Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Products/Debug-iphonesimulator/maptest.app/PlugIns/maptestTests.xctest/maptestTests normal x86_64 cd /Users/jiu/Documents/maptest/ios export IPHONEOS_DEPLOYMENT_TARGET=8.0 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -L/Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Products/Debug-iphonesimulator -F/Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Products/Debug-iphonesimulator -F/Users/jiu/Documents/maptest/ios/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -filelist /Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Intermediates/maptest.build/Debug-iphonesimulator/maptestTests.build/Objects-normal/x86_64/maptestTests.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -mios-simulator-version-min=8.0 -dead_strip -bundle_loader /Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Products/Debug-iphonesimulator/maptest.app/maptest -Xlinker -object_path_lto -Xlinker /Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Intermediates/maptest.build/Debug-iphonesimulator/maptestTests.build/Objects-normal/x86_64/maptestTests_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lc++ -framework XCTest -Xlinker -sectcreate -Xlinker TEXT -Xlinker entitlements -Xlinker /Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Intermediates/maptest.build/Debug-iphonesimulator/maptestTests.build/maptestTests.xctest.xcent /Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Products/Debug-iphonesimulator/libReact.a -framework AMapFoundationKit -framework MAMapKit -framework AMapSearchKit -Xlinker -dependency_info -Xlinker /Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Intermediates/maptest.build/Debug-iphonesimulator/maptestTests.build/Objects-normal/x86_64/maptestTests_dependency_info.dat -o /Users/jiu/Library/Developer/Xcode/DerivedData/maptest-djaltoxhmqviunafoxlskehcltkg/Build/Products/Debug-iphonesimulator/maptest.app/PlugIns/maptestTests.xctest/maptestTests
Undefined symbols for architecture x86_64: "_OBJCCLASS$_CTTelephonyNetworkInfo", referenced from: objc-class-ref in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_CNCopyCurrentNetworkInfo", referenced from: -[AMapStatistics fetchSSIDInfo] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "inflateInit2", referenced from: +[AMapFoundationCompression GZipInflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) _unzOpenCurrentFile3 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_inflate", referenced from: +[AMapFoundationCompression GZipInflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) _unzReadCurrentFile in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_CNCopySupportedInterfaces", referenced from: -[AMapStatistics fetchSSIDInfo] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_SCError", referenced from: -[AMapFoundationReachability startNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_deflateEnd", referenced from: _zipCloseFileInZipRaw64 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) +[AMapFoundationCompression GZipDeflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_crc32", referenced from: _zipWriteInFileInZip in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) _unzReadCurrentFile in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "deflateInit2", referenced from: _zipOpenNewFileInZip4_64 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) +[AMapFoundationCompression GZipDeflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_get_crc_table", referenced from: _zipOpenNewFileInZip4_64 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) _unzOpenCurrentFile3 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_SCNetworkReachabilitySetDispatchQueue", referenced from: -[AMapFoundationReachability startNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) -[AMapFoundationReachability stopNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_SCNetworkReachabilityGetFlags", referenced from: -[AMapFoundationReachability reachabilityFlags] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) -[AMapFoundationReachability isReachable] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) -[AMapFoundationReachability isReachableViaWWAN] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) -[AMapFoundationReachability isReachableViaWiFi] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_SCNetworkReachabilitySetCallback", referenced from: -[AMapFoundationReachability startNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) -[AMapFoundationReachability stopNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_inflateEnd", referenced from: +[AMapFoundationCompression GZipInflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) _unzCloseCurrentFile in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_deflate", referenced from: _zipWriteInFileInZip in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) _zipCloseFileInZipRaw64 in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) +[AMapFoundationCompression GZipDeflateWithSource:] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_SCErrorString", referenced from: -[AMapFoundationReachability startNotifier] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) "_SCNetworkReachabilityCreateWithAddress", referenced from: -[AMapFoundationReachability init] in AMapFoundationKit(AMapFoundationKit-x86_64-master.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)