iOS Question Issues * BUILD FAILED *

Christian García S.

Active Member
Licensed User
Hello,

I have a issue when compile with b4i 5.81

I updated PC-Internal libs and re generated cerficate and profiles, and I get the same error, I read that with these steps can you fix the issue but I have the same results.

Here last lines:

B4X:
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)
  "_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)
      ...
  "_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 FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
      objc-class-ref in FirebaseInstanceID(FIRInstanceID.o)
      objc-class-ref in FirebaseInstanceID(FIRInstanceIDTokenFetchOperation.o)
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
  "_OBJC_CLASS_$_FIRComponent", referenced from:
      objc-class-ref in FirebaseInstanceID(FIRInstanceID.o)
      objc-class-ref in FirebaseMessaging(FIRMessaging.o)
  "_OBJC_CLASS_$_FIRComponentType", referenced from:
      objc-class-ref in FirebaseInstanceID(FIRInstanceID.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_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:options:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
  "_kAPMAppMeasurementOriginFirebase", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
  "_kAPMIsAnalyticsCollectionDeactivated", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
  "_kAPMIsAnalyticsCollectionEnabled", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
  "_kAPMMonitorLogTagOptionKey", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
  "_kAPMSafelistedEventsOptionKey", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
  "_kFIRLoggerAnalytics", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics_b1a58c0e5ea47877b382a92fe9c18663.o)
ld: symbol(s) not found for architecture arm64
clang: error
: linker command failed with exit code 1 (use -v to see invocation)

I attach the file, because it is too big to paste inside the thread.

Can you help me ??

Thanks
 

Attachments

  • error.txt
    240.3 KB · Views: 369
Last edited:

f0raster0

Well-Known Member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…