iOS Question [Solved] Build Failed - Firebase - Symbol(s) not found for architecture arm64

Marcus Araujo

Member
Licensed User
What does this mean?

I am using hosted builder. My project includes Firebase Analytics, Auth and Notifications.
MinVersion is set to 11.

Full error code below.

Ld /Users/administrator/Documents/UploadedProjects/<user id>/Payload/Lanch.app/Lanch normal arm64 (in target: B4iProject)
cd /Users/administrator/Documents/UploadedProjects/<user id>
export IPHONEOS_DEPLOYMENT_TARGET=11.0
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/administrator/Documents/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/administrator/Documents/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Lanch.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=11.0 -Xlinker -object_path_lto -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Lanch_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liXUI -liJSON -liRandomAccessFile -liEncryption -liStringUtils -liFirebaseAnalytics -liCustomDialog -liUI8 -liBarcode -liHUD -liFirebaseAuth -liPhone -liFirebaseNotifications -framework AVFoundation -lz -framework FirebaseAnalytics -framework FirebaseInstanceID -framework GoogleInterchangeUtilities -framework GoogleSymbolUtilities -framework GoogleUtilities -framework AddressBook -framework SystemConfiguration -framework SafariServices -framework GoogleSignIn -framework GoogleAppUtilities -framework GoogleAuthUtilities -framework GoogleNetworkingUtilities -framework FirebaseAuth -framework MessageUI -framework CoreMotion -framework FirebaseMessaging -framework GoogleIPhoneUtilities -liHttp -liDebug2 -Xlinker -dependency_info -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Lanch_dependency_info.dat -o /Users/administrator/Documents/UploadedProjects/<user id>/Payload/Lanch.app/Lanch
Undefined symbols for architecture arm64:
"_APMFormattedEventName", referenced from:
+[FIRAnalytics logEventWithOrigin:name:parameters:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_APMFormattedUserPropertyName", referenced from:
+[FIRAnalytics setUserPropertyString:forName:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_FIRAuthStateDidChangeInternalNotification", referenced from:
___50-[FIRAuth possiblyPostAuthStateChangeNotification]_block_invoke in FirebaseAuth(FIRAuth.o)
"_FIRAuthStateDidChangeInternalNotificationAppKey", referenced from:
-[FIRAuth possiblyPostAuthStateChangeNotification] in FirebaseAuth(FIRAuth.o)
"_FIRAuthStateDidChangeInternalNotificationTokenKey", referenced from:
-[FIRAuth possiblyPostAuthStateChangeNotification] in FirebaseAuth(FIRAuth.o)
"_FIRAuthStateDidChangeInternalNotificationUIDKey", referenced from:
-[FIRAuth possiblyPostAuthStateChangeNotification] in FirebaseAuth(FIRAuth.o)
"_FIRLogBasic", referenced from:
-[FIRInstanceIDLogger logFuncDebug:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger.o)
-[FIRInstanceIDLogger logFuncInfo:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger.o)
-[FIRInstanceIDLogger logFuncNotice:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger.o)
-[FIRInstanceIDLogger logFuncWarning:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger.o)
-[FIRInstanceIDLogger logFuncError:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger.o)
-[FIRMessagingLogger logFuncDebug:messageCode:msg:] in FirebaseMessaging(FIRMessagingLogger.o)
-[FIRMessagingLogger logFuncInfo:messageCode:msg:] in FirebaseMessaging(FIRMessagingLogger.o)
...
"_FIRLogDebug", referenced from:
+[FIRAuthAPNSTokenManager isProductionApp] in FirebaseAuth(FIRAuthAPNSTokenManager.o)
"_FIRLogError", referenced from:
___34-[FIRAuth initWithAPIKey:appName:]_block_invoke in FirebaseAuth(FIRAuth.o)
"_FIRLogInfo", referenced from:
-[FIRAuth scheduleAutoTokenRefreshWithDelay:retry:] in FirebaseAuth(FIRAuth.o)
___47-[FIRAuth getTokenForcingRefresh:withCallback:]_block_invoke in FirebaseAuth(FIRAuth.o)
+[FIRAuthAPNSTokenManager isProductionApp] in FirebaseAuth(FIRAuthAPNSTokenManager.o)
"_FIRLogNotice", referenced from:
-[FIRUser signOutIfTokenIsInvalidWithError:] in FirebaseAuth(FIRUser.o)
"_FIRLogWarning", referenced from:
___70-[FIRAuthNotificationManager checkNotificationForwardingWithCallback:]_block_invoke in FirebaseAuth(FIRAuthNotificationManager.o)
___62-[FIRPhoneAuthProvider verifyClientWithUIDelegate:completion:]_block_invoke_3 in FirebaseAuth(FIRPhoneAuthProvider.o)
"_GTMFetcherStandardUserAgentString", referenced from:
+[FIRAuthBackend authUserAgent] in FirebaseAuth(FIRAuthBackend.o)
(maybe you meant: _GSDK_GTMFetcherStandardUserAgentString
)
"_GTMSessionFetcherAssertValidSelector", referenced from:
-[GIDGTMOAuth2Authentication authorizeRequest:delegate:didFinishSelector:] in GoogleSignIn(GIDGTMOAuth2Authentication_5da5b4c347b221d22d73c3f25a1d0af9.o)
-[GIDGTMOAuth2SignIn initWithAuthentication:authorizationURL:delegate:webRequestSelector:finishedSelector:] in GoogleSignIn(GIDGTMOAuth2SignIn_71ef1dfd0402a1e93e15806c6a0abcff.o)
(maybe you meant: _GSDK_GTMSessionFetcherAssertValidSelector
)
"_OBJC_CLASS_$_APMAdExposureReporter", referenced from:
_OBJC_CLASS_$_FIRAAdExposureReporter in FirebaseAnalytics(FIRAAdExposureReporter_e516d08bfa5acfab876b4af79741d03b.o)
"_OBJC_CLASS_$_APMAnalytics", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_OBJC_CLASS_$_APMConditionalUserProperty", referenced from:
_OBJC_CLASS_$_FIRAConditionalUserProperty in FirebaseAnalytics(FIRAConditionalUserProperty_da9132874cf18b1013457ad70c30ebd4.o)
"_OBJC_CLASS_$_APMConditionalUserPropertyController", referenced from:
_OBJC_CLASS_$_FIRAConditionalUserPropertyController in FirebaseAnalytics(FIRAConditionalUserPropertyController_391de919ca324f4205af528c2f4bf228.o)
"_OBJC_CLASS_$_APMEvent", referenced from:
_OBJC_CLASS_$_FIRAEvent in FirebaseAnalytics(FIRAEvent_ab10ffd6164e49ea076c16409eba95e0.o)
"_OBJC_CLASS_$_APMIdentifiers", referenced from:
_OBJC_CLASS_$_FIRAIdentifiers in FirebaseAnalytics(FIRAIdentifiers_c39e1836577a1f413945546b36ff1a35.o)
"_OBJC_CLASS_$_APMMeasurement", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAMeasurement_f52e0c5ecf54f9c787ce3f87e5967010.o)
_OBJC_CLASS_$_FIRAMeasurement in FirebaseAnalytics(FIRAMeasurement_f52e0c5ecf54f9c787ce3f87e5967010.o)
objc-class-ref in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_OBJC_CLASS_$_APMScreenViewReporter", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAScreenViewReporter_a7e399dc552c107f9958a5a21dc3ebb8.o)
_OBJC_CLASS_$_FIRAScreenViewReporter in FirebaseAnalytics(FIRAScreenViewReporter_a7e399dc552c107f9958a5a21dc3ebb8.o)
"_OBJC_CLASS_$_APMSessionReporter", referenced from:
_OBJC_CLASS_$_FIRASessionReporter in FirebaseAnalytics(FIRASessionReporter_4f1a6411673b017977c8eb9f3105197e.o)
"_OBJC_CLASS_$_APMUserAttribute", referenced from:
_OBJC_CLASS_$_FIRAUserAttribute in FirebaseAnalytics(FIRAUserAttribute_8b920ceab4b6cf803ac8b113bb48571c.o)
"_OBJC_CLASS_$_APMValue", referenced from:
_OBJC_CLASS_$_FIRAValue in FirebaseAnalytics(FIRAValue_4c21b84a5eb3e0e007a633cfb3ce3bd9.o)
"_OBJC_CLASS_$_FIRApp", referenced from:
objc-class-ref in libiFirebaseAnalytics.a(iFirebaseAnalytics.o)
objc-class-ref in libiFirebaseAuth.a(iFirebaseAuth.o)
objc-class-ref in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
objc-class-ref in FirebaseInstanceID(FIRInstanceID.o)
objc-class-ref in FirebaseInstanceID(FIRInstanceIDTokenFetchOperation.o)
objc-class-ref in FirebaseAuth(FIRAuth.o)
objc-class-ref in FirebaseMessaging(FIRMessaging.o)
...
"_OBJC_CLASS_$_FIRComponent", referenced from:
objc-class-ref in FirebaseInstanceID(FIRInstanceID.o)
objc-class-ref in FirebaseAuth(FIRAuth.o)
objc-class-ref in FirebaseMessaging(FIRMessaging.o)
"_OBJC_CLASS_$_FIRComponentType", referenced from:
objc-class-ref in FirebaseInstanceID(FIRInstanceID.o)
objc-class-ref in FirebaseAuth(FIRAuth.o)
objc-class-ref in FirebaseMessaging(FIRMessaging.o)
"_OBJC_CLASS_$_FIRDependency", referenced from:
objc-class-ref in FirebaseMessaging(FIRMessaging.o)
"_OBJC_CLASS_$_FIROptions", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
objc-class-ref in FirebaseInstanceID(FIRInstanceIDUtilities.o)
"_OBJC_CLASS_$_GPBCodedOutputStream", referenced from:
objc-class-ref in FirebaseMessaging(FIRMessagingSecureSocket.o)
"_OBJC_CLASS_$_GPBDescriptor", referenced from:
objc-class-ref in FirebaseMessaging(GtalkCore.pbobjc.o)
objc-class-ref in FirebaseMessaging(GtalkExtensions.pbobjc.o)
"_OBJC_CLASS_$_GPBEnumDescriptor", referenced from:
objc-class-ref in FirebaseMessaging(GtalkCore.pbobjc.o)
objc-class-ref in FirebaseMessaging(GtalkExtensions.pbobjc.o)
"_OBJC_CLASS_$_GPBFileDescriptor", referenced from:
objc-class-ref in FirebaseMessaging(GtalkCore.pbobjc.o)
objc-class-ref in FirebaseMessaging(GtalkExtensions.pbobjc.o)
"_OBJC_CLASS_$_GPBMessage", referenced from:
_OBJC_CLASS_$_GtalkHeartbeatPing in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_CLASS_$_GtalkHeartbeatAck in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_CLASS_$_GtalkErrorInfo in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_CLASS_$_GtalkSetting in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_CLASS_$_GtalkHeartbeatStat in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_CLASS_$_GtalkHeartbeatConfig in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_CLASS_$_GtalkLoginRequest in FirebaseMessaging(GtalkCore.pbobjc.o)
...
"_OBJC_CLASS_$_GPBRootObject", referenced from:
_OBJC_CLASS_$_GtalkGtalkCoreRoot in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_CLASS_$_GtalkGtalkExtensionsRoot in FirebaseMessaging(GtalkExtensions.pbobjc.o)
"_OBJC_CLASS_$_GSDK_GTMLogger", referenced from:
objc-class-ref in GoogleIPhoneUtilities(GIPReachability.o)
"_OBJC_CLASS_$_GTMSessionFetcher", referenced from:
objc-class-ref in GoogleSignIn(GIDRuntimeConfigFetcher_d7b0ff2f28d2ece58e787c51382387f7.o)
objc-class-ref in GoogleSignIn(GIDSignIn_2f842adf59cff94dba6bfcb1043c2758.o)
objc-class-ref in GoogleSignIn(GIDGTMOAuth2Authentication_5da5b4c347b221d22d73c3f25a1d0af9.o)
objc-class-ref in GoogleSignIn(GIDGTMOAuth2SignIn_71ef1dfd0402a1e93e15806c6a0abcff.o)
"_OBJC_CLASS_$_GTMSessionFetcherService", referenced from:
objc-class-ref in GoogleSignIn(GIDSignIn_2f842adf59cff94dba6bfcb1043c2758.o)
objc-class-ref in FirebaseAuth(FIRAuthBackend.o)
"_OBJC_METACLASS_$_APMAdExposureReporter", referenced from:
_OBJC_METACLASS_$_FIRAAdExposureReporter in FirebaseAnalytics(FIRAAdExposureReporter_e516d08bfa5acfab876b4af79741d03b.o)
"_OBJC_METACLASS_$_APMConditionalUserProperty", referenced from:
_OBJC_METACLASS_$_FIRAConditionalUserProperty in FirebaseAnalytics(FIRAConditionalUserProperty_da9132874cf18b1013457ad70c30ebd4.o)
"_OBJC_METACLASS_$_APMConditionalUserPropertyController", referenced from:
_OBJC_METACLASS_$_FIRAConditionalUserPropertyController in FirebaseAnalytics(FIRAConditionalUserPropertyController_391de919ca324f4205af528c2f4bf228.o)
"_OBJC_METACLASS_$_APMEvent", referenced from:
_OBJC_METACLASS_$_FIRAEvent in FirebaseAnalytics(FIRAEvent_ab10ffd6164e49ea076c16409eba95e0.o)
"_OBJC_METACLASS_$_APMIdentifiers", referenced from:
_OBJC_METACLASS_$_FIRAIdentifiers in FirebaseAnalytics(FIRAIdentifiers_c39e1836577a1f413945546b36ff1a35.o)
"_OBJC_METACLASS_$_APMMeasurement", referenced from:
_OBJC_METACLASS_$_FIRAMeasurement in FirebaseAnalytics(FIRAMeasurement_f52e0c5ecf54f9c787ce3f87e5967010.o)
"_OBJC_METACLASS_$_APMScreenViewReporter", referenced from:
_OBJC_METACLASS_$_FIRAScreenViewReporter in FirebaseAnalytics(FIRAScreenViewReporter_a7e399dc552c107f9958a5a21dc3ebb8.o)
"_OBJC_METACLASS_$_APMSessionReporter", referenced from:
_OBJC_METACLASS_$_FIRASessionReporter in FirebaseAnalytics(FIRASessionReporter_4f1a6411673b017977c8eb9f3105197e.o)
"_OBJC_METACLASS_$_APMUserAttribute", referenced from:
_OBJC_METACLASS_$_FIRAUserAttribute in FirebaseAnalytics(FIRAUserAttribute_8b920ceab4b6cf803ac8b113bb48571c.o)
"_OBJC_METACLASS_$_APMValue", referenced from:
_OBJC_METACLASS_$_FIRAValue in FirebaseAnalytics(FIRAValue_4c21b84a5eb3e0e007a633cfb3ce3bd9.o)
"_OBJC_METACLASS_$_GPBMessage", referenced from:
_OBJC_METACLASS_$_GtalkHeartbeatPing in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_METACLASS_$_GtalkHeartbeatAck in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_METACLASS_$_GtalkErrorInfo in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_METACLASS_$_GtalkSetting in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_METACLASS_$_GtalkHeartbeatStat in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_METACLASS_$_GtalkHeartbeatConfig in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_METACLASS_$_GtalkLoginRequest in FirebaseMessaging(GtalkCore.pbobjc.o)
...
"_OBJC_METACLASS_$_GPBRootObject", referenced from:
_OBJC_METACLASS_$_GtalkGtalkCoreRoot in FirebaseMessaging(GtalkCore.pbobjc.o)
_OBJC_METACLASS_$_GtalkGtalkExtensionsRoot in FirebaseMessaging(GtalkExtensions.pbobjc.o)
"_gAPMAppMeasurementLibraryVersion", referenced from:
+[FIRAnalytics initialize] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_kAPMAnalyticsConfiguration", referenced from:
+[FIRAnalytics startWithConfiguration:eek:ptions:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_kAPMAppMeasurementOriginFirebase", referenced from:
+[FIRAnalytics startWithConfiguration:eek:ptions:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_kAPMIsAnalyticsCollectionDeactivated", referenced from:
+[FIRAnalytics startWithConfiguration:eek:ptions:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_kAPMIsAnalyticsCollectionEnabled", referenced from:
+[FIRAnalytics startWithConfiguration:eek:ptions:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_kAPMMonitorLogTagOptionKey", referenced from:
+[FIRAnalytics startWithConfiguration:eek:ptions:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_kAPMSafelistedEventsOptionKey", referenced from:
+[FIRAnalytics startWithConfiguration:eek:ptions:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_kFIRLoggerAnalytics", referenced from:
+[FIRAnalytics startWithConfiguration:eek:ptions:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
"_kFIRLoggerAuth", referenced from:
___34-[FIRAuth initWithAPIKey:appName:]_block_invoke in FirebaseAuth(FIRAuth.o)
-[FIRAuth scheduleAutoTokenRefreshWithDelay:retry:] in FirebaseAuth(FIRAuth.o)
___47-[FIRAuth getTokenForcingRefresh:withCallback:]_block_invoke in FirebaseAuth(FIRAuth.o)
+[FIRAuthAPNSTokenManager isProductionApp] in FirebaseAuth(FIRAuthAPNSTokenManager.o)
___70-[FIRAuthNotificationManager checkNotificationForwardingWithCallback:]_block_invoke in FirebaseAuth(FIRAuthNotificationManager.o)
___62-[FIRPhoneAuthProvider verifyClientWithUIDelegate:completion:]_block_invoke_3 in FirebaseAuth(FIRPhoneAuthProvider.o)
-[FIRUser signOutIfTokenIsInvalidWithError:] in FirebaseAuth(FIRUser.o)
...
"_kGTMSessionFetcherStatusDomain", referenced from:
-[GIDGTMOAuth2SignIn authCodeObtained] in GoogleSignIn(GIDGTMOAuth2SignIn_71ef1dfd0402a1e93e15806c6a0abcff.o)
(maybe you meant: _GSDK_kGTMSessionFetcherStatusDomain
)
ld: symbol(s) not found for architecture arm64
clang: error:
linker command failed with exit code 1 (use -v to see invocation)
 

Marcus Araujo

Member
Licensed User
Grazie, MarcoRome! That worked.

I got close! I tried looking into the "updates to internal library" thread but there was nothing relevant in there.
 
Top