Stack Overflow Asked by Ben Leggiero on February 7, 2021
I’m trying to upgrade our iOS app from Fabric Crashlytics 3.10.2 to Firebase Crashlytics 7.1.0. I’ve mostly gotten through the errors, and I’ve followed a few tutorials, and I’ve been googling around, but I can’t get rid of this error when linking:
Ld /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos/REDACTED.app/REDACTED normal (in target 'REDACTED' from project 'REDACTED')
cd /Users/ben_l/Software/REDACTED
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios13.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk -L/Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos -L/Users/ben_l/Software/REDACTED/Frameworks -F/Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos -F/Users/ben_l/Software/REDACTED/Frameworks -F/Users/ben_l/Software/REDACTED/Frameworks/IntuneMAM -filelist /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/REDACTED.build/Debug-iphoneos/REDACTED.build/Objects-normal/arm64/REDACTED.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/REDACTED.build/Debug-iphoneos/REDACTED.build/Objects-normal/arm64/REDACTED_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/REDACTED.build/Debug-iphoneos/REDACTED.build/Objects-normal/arm64/REDACTED.swiftmodule -lc++ -ObjC -DBUILDING_FOR_MOBILE -framework Security -framework SystemConfiguration -framework SystemConfiguration -framework CoreTelephony -framework UIKit -framework Security -framework QuartzCore -lz -framework StoreKit -lsqlite3 -lc++ -lz -framework REDACTED -framework AudioToolbox -framework FirebaseAnalytics -framework FIRAnalyticsConnector -framework GoogleAppMeasurement -framework CFNetwork -framework EVReflection -framework ImageIO -lsqlite3 -framework IntuneMAM -lc++ -licucore -framework LocalAuthentication -framework nanopb /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos/REDACTED.framework/REDACTED -framework IntuneMAM -framework MediaPlayer -framework GoogleToolboxForMac -framework WebKit -framework REDACTED -framework QuartzCore -framework QuickLook -framework UIKit -framework Foundation -framework CoreGraphics -framework Security -framework MSAL -framework MessageUI -framework SystemConfiguration -framework CoreFoundation -framework MobileCoreServices -framework FirebaseNanoPB -framework AdSupport -framework FirebaseInstanceID -framework ReactiveObjC -framework CoreLocation -framework DSI -framework CoreTelephony -framework CoreData -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/REDACTED.build/Debug-iphoneos/REDACTED.build/Objects-normal/arm64/REDACTED_dependency_info.dat -o /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos/REDACTED.app/REDACTED -Xlinker -add_ast_path -Xlinker /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/Eureka.swiftmodule
Undefined symbols for architecture arm64:
"_kFIRLoggerInstanceID", referenced from:
-[FIRInstanceIDLogger logFuncDebug:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
-[FIRInstanceIDLogger logFuncInfo:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
-[FIRInstanceIDLogger logFuncNotice:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
-[FIRInstanceIDLogger logFuncWarning:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
-[FIRInstanceIDLogger logFuncError:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone here know how to get past this?
According to the errors, you are missing the components for the platform ARM64.
I would install all the development libraries, VM, etc... for ARM64 first.
Cheers.
Answered by Carles Mateo on February 7, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP