TobiasBuchholz / Plugin.Firebase

Wrapper around the native Android and iOS Firebase Xamarin SDKs
MIT License
219 stars 49 forks source link

Building project failed after upgrading to 3.0.0 #303

Closed DosangGu closed 5 months ago

DosangGu commented 5 months ago

Environment

machine: mac mini (M2) xcode: 15.4 dotnet sdk: 8.0.301 RuntimeIdentifier: iossimulator TargetFramework: net8.0-ios

logs

iossimulator-x64

  Tool xcrun execution finished (exit code = 1).

  ld: warning: Could not find or use auto-linked library 'swiftCore'
  ld: warning: Could not find or use auto-linked library 'swiftCompatibility50'
  ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
  ld: warning: Could not find or use auto-linked library 'swiftCoreImage'
  ld: warning: Could not find or use auto-linked library 'swiftFileProvider'
  ld: warning: Could not find or use auto-linked library 'swiftOSLog'
  ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
  ld: warning: Could not find or use auto-linked library 'swiftFoundation'
  ld: warning: Could not find or use auto-linked library 'swiftCompatibilityDynamicReplacements'
  ld: warning: Could not find or use auto-linked library 'swiftDarwin'
  ld: warning: Could not find or use auto-linked library 'swiftCompatibility51'
  ld: warning: Could not find or use auto-linked library 'swiftQuartzCore'
  ld: warning: Could not find or use auto-linked library 'swiftUIKit'
  ld: warning: Could not find or use auto-linked library 'swiftUniformTypeIdentifiers'
  ld: warning: Could not find or use auto-linked library 'swiftCompatibilityConcurrency'
  ld: warning: Could not find or use auto-linked library 'swiftMetal'
  ld: warning: Could not find or use auto-linked library 'swiftDispatch'
  ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
  ld: warning: Could not find or use auto-linked library 'swiftDataDetection'
  ld: warning: Could not find or use auto-linked library 'swift_Concurrency'
  ld: warning: Could not find or use auto-linked library 'swift_StringProcessing'
  ld: warning: Could not find or use auto-linked library 'swiftos'
  ld: warning: Could not find or use auto-linked framework 'GoogleAppMeasurement'
  Undefined symbols for architecture x86_64:
    "_$sSS4hash4intoys6HasherVz_tF", referenced from:
        _$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$sSSN", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV12mutatingFind_8isUniques10_HashTableV6BucketV6bucket_Sb5foundtx_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$sSSSHsWP", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$sSzsE11descriptionSSvg", referenced from:
        _$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ in FirebaseAnalytics(Analytics+StoreKit.o)
    "_$ss18_DictionaryStorageC4copy8originalAByxq_Gs05__RawaB0C_tFZ", referenced from:
        _$ss17_NativeDictionaryV4copyyyFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss18_DictionaryStorageC6resize8original8capacity4moveAByxq_Gs05__RawaB0C_SiSbtFZ", referenced from:
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss18_DictionaryStorageCMn", referenced from:
        _symbolic _____ySSypG s18_DictionaryStorageC in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF", referenced from:
        _$ss22__RawDictionaryStorageC4find_9hashValues10_HashTableV6BucketV6bucket_Sb5foundtx_SitSHRzlFSS_Tg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF", referenced from:
        _$ss17_NativeDictionaryV12mutatingFind_8isUniques10_HashTableV6BucketV6bucket_Sb5foundtx_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss6HasherV5_seedABSi_tcfC", referenced from:
        _$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss6HasherV9_finalizeSiyF", referenced from:
        _$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss6UInt64VN", referenced from:
        _$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ in FirebaseAnalytics(Analytics+StoreKit.o)
        _$ss6UInt64VABSzsWl in FirebaseAnalytics(Analytics+StoreKit.o)
    "_$ss6UInt64VSzsMc", referenced from:
        _$ss6UInt64VABSzsWl in FirebaseAnalytics(Analytics+StoreKit.o)
    "_$sypN", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$sypWOb in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$sypWOc in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_APMAnalyticsConfiguration", referenced from:
        +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMAppMeasurementOriginFirebase", referenced from:
        +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMConsentSettings3P", referenced from:
        +[FIRAnalytics setConsent:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMFormattedEventName", referenced from:
        +[FIRAnalytics logEventWithOrigin:name:parameters:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMFormattedUserPropertyName", referenced from:
        +[FIRAnalytics setUserPropertyString:forName:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMIsAnalyticsCollectionDeactivated", referenced from:
        +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMIsAnalyticsCollectionEnabled", referenced from:
        +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMMonitorLogTagOptionKey", referenced from:
        +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMUserDataFieldEmailAddress", referenced from:
        +[FIRAnalytics initiateOnDeviceConversionMeasurementWithEmailAddress:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMUserDataFieldHashedEmailAddress", referenced from:
        +[FIRAnalytics initiateOnDeviceConversionMeasurementWithHashedEmailAddress:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMUserDataFieldHashedPhoneNumber", referenced from:
        +[FIRAnalytics initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMUserDataFieldPhoneNumber", referenced from:
        +[FIRAnalytics initiateOnDeviceConversionMeasurementWithPhoneNumber:] in FirebaseAnalytics(FIRAnalytics.o)
    "_OBJC_CLASS_$_APMAdExposureReporter", referenced from:
        _OBJC_CLASS_$_FIRAAdExposureReporter in FirebaseAnalytics(FIRAAdExposureReporter.o)
    "_OBJC_CLASS_$_APMAnalytics", referenced from:
        objc-class-ref in FirebaseAnalytics(FIRAnalytics.o)
    "_OBJC_CLASS_$_APMConditionalUserProperty", referenced from:
        _OBJC_CLASS_$_FIRAConditionalUserProperty in FirebaseAnalytics(FIRAConditionalUserProperty.o)
    "_OBJC_CLASS_$_APMConditionalUserPropertyController", referenced from:
        _OBJC_CLASS_$_FIRAConditionalUserPropertyController in FirebaseAnalytics(FIRAConditionalUserPropertyController.o)
    "_OBJC_CLASS_$_APMEvent", referenced from:
        _OBJC_CLASS_$_FIRAEvent in FirebaseAnalytics(FIRAEvent.o)
    "_OBJC_CLASS_$_APMIdentifiers", referenced from:
        _OBJC_CLASS_$_FIRAIdentifiers in FirebaseAnalytics(FIRAIdentifiers.o)
    "_OBJC_CLASS_$_APMIdentity", referenced from:
        objc-class-ref in FirebaseAnalytics(FIRAnalytics.o)
    "_OBJC_CLASS_$_APMMeasurement", referenced from:
        objc-class-ref in FirebaseAnalytics(FIRAnalytics.o)
        objc-class-ref in FirebaseAnalytics(FIRAMeasurement.o)
        _OBJC_CLASS_$_FIRAMeasurement in FirebaseAnalytics(FIRAMeasurement.o)
    "_OBJC_CLASS_$_APMScreenViewReporter", referenced from:
        objc-class-ref in FirebaseAnalytics(FIRAScreenViewReporter.o)
        _OBJC_CLASS_$_FIRAScreenViewReporter in FirebaseAnalytics(FIRAScreenViewReporter.o)
    "_OBJC_CLASS_$_APMUserAttribute", referenced from:
        _OBJC_CLASS_$_FIRAUserAttribute in FirebaseAnalytics(FIRAUserAttribute.o)
    "_OBJC_CLASS_$_APMValue", referenced from:
        _OBJC_CLASS_$_FIRAValue in FirebaseAnalytics(FIRAValue.o)
    "_OBJC_METACLASS_$_APMAdExposureReporter", referenced from:
        _OBJC_METACLASS_$_FIRAAdExposureReporter in FirebaseAnalytics(FIRAAdExposureReporter.o)
    "_OBJC_METACLASS_$_APMConditionalUserProperty", referenced from:
        _OBJC_METACLASS_$_FIRAConditionalUserProperty in FirebaseAnalytics(FIRAConditionalUserProperty.o)
    "_OBJC_METACLASS_$_APMConditionalUserPropertyController", referenced from:
        _OBJC_METACLASS_$_FIRAConditionalUserPropertyController in FirebaseAnalytics(FIRAConditionalUserPropertyController.o)
    "_OBJC_METACLASS_$_APMEvent", referenced from:
        _OBJC_METACLASS_$_FIRAEvent in FirebaseAnalytics(FIRAEvent.o)
    "_OBJC_METACLASS_$_APMIdentifiers", referenced from:
        _OBJC_METACLASS_$_FIRAIdentifiers in FirebaseAnalytics(FIRAIdentifiers.o)
    "_OBJC_METACLASS_$_APMMeasurement", referenced from:
        _OBJC_METACLASS_$_FIRAMeasurement in FirebaseAnalytics(FIRAMeasurement.o)
    "_OBJC_METACLASS_$_APMScreenViewReporter", referenced from:
        _OBJC_METACLASS_$_FIRAScreenViewReporter in FirebaseAnalytics(FIRAScreenViewReporter.o)
    "_OBJC_METACLASS_$_APMUserAttribute", referenced from:
        _OBJC_METACLASS_$_FIRAUserAttribute in FirebaseAnalytics(FIRAUserAttribute.o)
    "_OBJC_METACLASS_$_APMValue", referenced from:
        _OBJC_METACLASS_$_FIRAValue in FirebaseAnalytics(FIRAValue.o)
    "__swift_FORCE_LOAD_$_swiftCompatibility50", referenced from:
        __swift_FORCE_LOAD_$_swiftCompatibility50_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftCompatibility50_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibility50_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftCompatibility51", referenced from:
        __swift_FORCE_LOAD_$_swiftCompatibility51_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftCompatibility51_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibility51_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftCompatibilityConcurrency", referenced from:
        __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements", referenced from:
        __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftCoreFoundation", referenced from:
        __swift_FORCE_LOAD_$_swiftCoreFoundation_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftCoreFoundation_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreFoundation_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftCoreGraphics", referenced from:
        __swift_FORCE_LOAD_$_swiftCoreGraphics_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftCoreGraphics_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreGraphics_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftCoreImage", referenced from:
        __swift_FORCE_LOAD_$_swiftCoreImage_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftCoreImage_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreImage_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftDarwin", referenced from:
        __swift_FORCE_LOAD_$_swiftDarwin_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftDarwin_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftDarwin_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftDataDetection", referenced from:
        __swift_FORCE_LOAD_$_swiftDataDetection_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftDataDetection_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftDataDetection_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftDispatch", referenced from:
        __swift_FORCE_LOAD_$_swiftDispatch_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftDispatch_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftDispatch_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftFileProvider", referenced from:
        __swift_FORCE_LOAD_$_swiftFileProvider_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftFileProvider_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftFileProvider_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftMetal", referenced from:
        __swift_FORCE_LOAD_$_swiftMetal_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftMetal_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftMetal_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftOSLog", referenced from:
        __swift_FORCE_LOAD_$_swiftOSLog_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftOSLog_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftOSLog_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftObjectiveC", referenced from:
        __swift_FORCE_LOAD_$_swiftObjectiveC_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftObjectiveC_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftObjectiveC_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftQuartzCore", referenced from:
        __swift_FORCE_LOAD_$_swiftQuartzCore_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftQuartzCore_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftQuartzCore_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers", referenced from:
        __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftos", referenced from:
        __swift_FORCE_LOAD_$_swiftos_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftos_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftos_$_FirebaseAnalytics)
    "_swift_allocObject", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV7SwiftUI04ViewD0AadEP4body7content4BodyQzAD01_gD8_ContentVyxG_tFTW in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_bridgeObjectRelease", referenced from:
        _$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ in FirebaseAnalytics(Analytics+StoreKit.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwxx in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwca in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwta in FirebaseAnalytics(Analytics+SwiftUI.o)
        l_objectdestroy in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_bridgeObjectRetain", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwcp in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwca in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$sSSWOr in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$sSDySSypGWOr in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV4copyyyFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        ...
    "_swift_deallocObject", referenced from:
        l_objectdestroy in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_getInitializedObjCClass", referenced from:
        _$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ in FirebaseAnalytics(Analytics+StoreKit.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_getOpaqueTypeConformance", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV7SwiftUI04ViewD0AA4BodyAdEP_AD0G0PWT in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_getTypeByMangledNameInContext", referenced from:
        ___swift_instantiateConcreteTypeFromMangledName in FirebaseAnalytics(Analytics+StoreKit.o)
    "_swift_getWitnessTable", referenced from:
        _$ss6UInt64VABSzsWl in FirebaseAnalytics(Analytics+StoreKit.o)
        l_get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyx17FirebaseAnalytics06LoggedG8ModifierVGAaBHPxAaBHD1__AgA0cI0HPyHCHC in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVAC7SwiftUI04ViewD0AAWl in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s7SwiftUI15ModifiedContentVyAA014_ViewModifier_D0Vy17FirebaseAnalytics06LoggedhF0VGAA017_AppearanceActionF0VGACyxq_GAA0E0A2aNRzAA0eF0R_rlWl in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s7SwiftUI21_ViewModifier_ContentVy17FirebaseAnalytics06LoggedgD0VGACyxGAA0C0AAWl in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_isUniquelyReferenced_nonNull_native", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_release", referenced from:
        _$s10Foundation4DataV15_RepresentationOWOe in FirebaseAnalytics(Analytics+StoreKit.o)
        ___swift_destroy_boxed_opaque_existential_0 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV4copyyyFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_retain", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierVwCP in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)

iossimulator-arm64

  Tool xcrun execution finished (exit code = 1).

  ld: warning: Could not find or use auto-linked library 'swiftCore'
  ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
  ld: warning: Could not find or use auto-linked library 'swiftCoreImage'
  ld: warning: Could not find or use auto-linked library 'swiftFileProvider'
  ld: warning: Could not find or use auto-linked library 'swiftOSLog'
  ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
  ld: warning: Could not find or use auto-linked library 'swiftFoundation'
  ld: warning: Could not find or use auto-linked library 'swiftUIKit'
  ld: warning: Could not find or use auto-linked library 'swiftDarwin'
  ld: warning: Could not find or use auto-linked library 'swiftQuartzCore'
  ld: warning: Could not find or use auto-linked library 'swiftUniformTypeIdentifiers'
  ld: warning: Could not find or use auto-linked library 'swiftCompatibilityConcurrency'
  ld: warning: Could not find or use auto-linked library 'swiftMetal'
  ld: warning: Could not find or use auto-linked library 'swiftDispatch'
  ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
  ld: warning: Could not find or use auto-linked library 'swiftDataDetection'
  ld: warning: Could not find or use auto-linked library 'swift_Concurrency'
  ld: warning: Could not find or use auto-linked library 'swift_StringProcessing'
  ld: warning: Could not find or use auto-linked library 'swiftos'
  ld: warning: Could not find or use auto-linked framework 'GoogleAppMeasurement'
  Undefined symbols for architecture arm64:
    "_$sSS4hash4intoys6HasherVz_tF", referenced from:
        _$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$sSSN", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV12mutatingFind_8isUniques10_HashTableV6BucketV6bucket_Sb5foundtx_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$sSSSHsWP", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$sSzsE11descriptionSSvg", referenced from:
        _$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ in FirebaseAnalytics(Analytics+StoreKit.o)
    "_$ss18_DictionaryStorageC4copy8originalAByxq_Gs05__RawaB0C_tFZ", referenced from:
        _$ss17_NativeDictionaryV4copyyyFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss18_DictionaryStorageC6resize8original8capacity4moveAByxq_Gs05__RawaB0C_SiSbtFZ", referenced from:
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss18_DictionaryStorageCMn", referenced from:
        _symbolic _____ySSypG s18_DictionaryStorageC in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF", referenced from:
        _$ss22__RawDictionaryStorageC4find_9hashValues10_HashTableV6BucketV6bucket_Sb5foundtx_SitSHRzlFSS_Tg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF", referenced from:
        _$ss17_NativeDictionaryV12mutatingFind_8isUniques10_HashTableV6BucketV6bucket_Sb5foundtx_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss6HasherV5_seedABSi_tcfC", referenced from:
        _$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss6HasherV9_finalizeSiyF", referenced from:
        _$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_$ss6UInt64VN", referenced from:
        _$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ in FirebaseAnalytics(Analytics+StoreKit.o)
        _$ss6UInt64VABSzsWl in FirebaseAnalytics(Analytics+StoreKit.o)
    "_$ss6UInt64VSzsMc", referenced from:
        _$ss6UInt64VABSzsWl in FirebaseAnalytics(Analytics+StoreKit.o)
    "_$sypN", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$sypWOb in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$sypWOc in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_APMAnalyticsConfiguration", referenced from:
        +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMAppMeasurementOriginFirebase", referenced from:
        +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
    "_APMConsentSettings3P", referenced from:
        __swift_FORCE_LOAD_$_swiftOSLog_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftOSLog_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftObjectiveC", referenced from:
        __swift_FORCE_LOAD_$_swiftObjectiveC_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftObjectiveC_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftObjectiveC_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftQuartzCore", referenced from:
        __swift_FORCE_LOAD_$_swiftQuartzCore_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftQuartzCore_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftQuartzCore_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers", referenced from:
        __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers_$_FirebaseAnalytics)
    "__swift_FORCE_LOAD_$_swiftos", referenced from:
        __swift_FORCE_LOAD_$_swiftos_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+StoreKit.o)
        __swift_FORCE_LOAD_$_swiftos_$_FirebaseAnalytics in FirebaseAnalytics(Analytics+SwiftUI.o)
       (maybe you meant: __swift_FORCE_LOAD_$_swiftos_$_FirebaseAnalytics)
    "_swift_allocObject", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV7SwiftUI04ViewD0AadEP4body7content4BodyQzAD01_gD8_ContentVyxG_tFTW in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_bridgeObjectRelease", referenced from:
        _$sSo12FIRAnalyticsC17FirebaseAnalyticsE14logTransactionyy8StoreKit0E0VFZ in FirebaseAnalytics(Analytics+StoreKit.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwxx in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwca in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwta in FirebaseAnalytics(Analytics+SwiftUI.o)
        l_objectdestroy in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_bridgeObjectRetain", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwcp in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVwca in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$sSSWOr in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$sSDySSypGWOr in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV4copyyyFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        ...
    "_swift_deallocObject", referenced from:
        l_objectdestroy in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_getOpaqueTypeConformance", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV7SwiftUI04ViewD0AA4BodyAdEP_AD0G0PWT in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_getTypeByMangledNameInContext", referenced from:
        ___swift_instantiateConcreteTypeFromMangledName in FirebaseAnalytics(Analytics+StoreKit.o)
    "_swift_getTypeByMangledNameInContextInMetadataState", referenced from:
        ___swift_instantiateConcreteTypeFromMangledNameAbstract in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_getWitnessTable", referenced from:
        _$ss6UInt64VABSzsWl in FirebaseAnalytics(Analytics+StoreKit.o)
        l_get_witness_table 7SwiftUI4ViewRzlAA15ModifiedContentVyx17FirebaseAnalytics06LoggedG8ModifierVGAaBHPxAaBHD1__AgA0cI0HPyHCHC in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s17FirebaseAnalytics06LoggedB8ModifierVAC7SwiftUI04ViewD0AAWl in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s7SwiftUI15ModifiedContentVyAA014_ViewModifier_D0Vy17FirebaseAnalytics06LoggedhF0VGAA017_AppearanceActionF0VGACyxq_GAA0E0A2aNRzAA0eF0R_rlWl in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$s7SwiftUI21_ViewModifier_ContentVy17FirebaseAnalytics06LoggedgD0VGACyxGAA0C0AAWl in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_isUniquelyReferenced_nonNull_native", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierV4body7contentQr7SwiftUI05_ViewD8_ContentVyACG_tFyycfU_ in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_release", referenced from:
        _$s10Foundation4DataV15_RepresentationOWOe in FirebaseAnalytics(Analytics+StoreKit.o)
        ___swift_destroy_boxed_opaque_existential_0 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV4copyyyFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
    "_swift_retain", referenced from:
        _$s17FirebaseAnalytics06LoggedB8ModifierVwCP in FirebaseAnalytics(Analytics+SwiftUI.o)
        _$ss17_NativeDictionaryV20_copyOrMoveAndResize8capacity12moveElementsySi_SbtFSS_ypTg5 in FirebaseAnalytics(Analytics+SwiftUI.o)
  ld: symbol(s) not found for architecture arm64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
AdamEssenmacher commented 5 months ago

Review the README instructions at https://github.com/AdamEssenmacher/GoogleApisForiOSComponents and report back.

DosangGu commented 5 months ago

Should have checked the instruction. It worked fine. Thanks for your reply.

AdamEssenmacher commented 5 months ago

No problem. We didn't add the new instruction note in the 3.0.0 section and there's a lot in the README. Glad you got it sorted out.

aandino-dev commented 5 months ago

Should have checked the instruction. It worked fine. Thanks for your reply.

Hi @DosangGu, can you share what did workout for you?

I already tried the README that @AdamEssenmacher mentioned before

Firebase Analytics On .NET 6+, FirebaseAnalytics 10.17+ requires this target be added to your app's .csproj:

<!-- Target needed until LinkWithSwiftSystemLibraries makes it into the SDK: https://github.com/xamarin/xamarin-macios/pull/20463 -->
<Target Name="LinkWithSwift" DependsOnTargets="_ParseBundlerArguments;_DetectSdkLocations" BeforeTargets="_LinkNativeExecutable">
    <PropertyGroup>
        <_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('iossimulator-'))">iphonesimulator</_SwiftPlatform>
        <_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('ios-'))">iphoneos</_SwiftPlatform>
    </PropertyGroup>
    <ItemGroup>
        <_CustomLinkFlags Include="-L" />
        <_CustomLinkFlags Include="/usr/lib/swift" />
        <_CustomLinkFlags Include="-L" />
        <_CustomLinkFlags Include="$(_SdkDevPath)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(_SwiftPlatform)" />
        <_CustomLinkFlags Include="-Wl,-rpath" />
        <_CustomLinkFlags Include="-Wl,/usr/lib/swift" />
    </ItemGroup>
</Target>

Additionally, you may be required to include also the Firebase Installations package reference.

xcode: 15.3 dotnet sdk: 8.0.101 RuntimeIdentifier: iossimulator TargetFramework: net8.0-ios

Tool xcrun execution finished (exit code = 1).

ld: warning: Could not find or use auto-linked framework 'GoogleAppMeasurement'
Undefined symbols for architecture x86_64:
  "_APMAnalyticsConfiguration", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMAppMeasurementOriginFirebase", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMConsentSettings3P", referenced from:
      +[FIRAnalytics setConsent:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMFormattedEventName", referenced from:
      +[FIRAnalytics logEventWithOrigin:name:parameters:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMFormattedUserPropertyName", referenced from:
      +[FIRAnalytics setUserPropertyString:forName:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMIsAnalyticsCollectionDeactivated", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMIsAnalyticsCollectionEnabled", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMMonitorLogTagOptionKey", referenced from:
      +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMUserDataFieldEmailAddress", referenced from:
      +[FIRAnalytics initiateOnDeviceConversionMeasurementWithEmailAddress:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMUserDataFieldHashedEmailAddress", referenced from:
      +[FIRAnalytics initiateOnDeviceConversionMeasurementWithHashedEmailAddress:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMUserDataFieldHashedPhoneNumber", referenced from:
      +[FIRAnalytics initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:] in FirebaseAnalytics(FIRAnalytics.o)
  "_APMUserDataFieldPhoneNumber", referenced from:
      +[FIRAnalytics initiateOnDeviceConversionMeasurementWithPhoneNumber:] in FirebaseAnalytics(FIRAnalytics.o)
  "_OBJC_CLASS_$_APMAdExposureReporter", referenced from:
      _OBJC_CLASS_$_FIRAAdExposureReporter in FirebaseAnalytics(FIRAAdExposureReporter.o)
  "_OBJC_CLASS_$_APMAnalytics", referenced from:
      objc-class-ref in FirebaseAnalytics(FIRAnalytics.o)
  "_OBJC_CLASS_$_APMConditionalUserProperty", referenced from:
      _OBJC_CLASS_$_FIRAConditionalUserProperty in FirebaseAnalytics(FIRAConditionalUserProperty.o)
  "_OBJC_CLASS_$_APMConditionalUserPropertyController", referenced from:
      _OBJC_CLASS_$_FIRAConditionalUserPropertyController in FirebaseAnalytics(FIRAConditionalUserPropertyController.o)
  "_OBJC_CLASS_$_APMEvent", referenced from:
      _OBJC_CLASS_$_FIRAEvent in FirebaseAnalytics(FIRAEvent.o)
  "_OBJC_CLASS_$_APMIdentifiers", referenced from:
      _OBJC_CLASS_$_FIRAIdentifiers in FirebaseAnalytics(FIRAIdentifiers.o)
  "_OBJC_CLASS_$_APMIdentity", referenced from:
      objc-class-ref in FirebaseAnalytics(FIRAnalytics.o)
  "_OBJC_CLASS_$_APMMeasurement", referenced from:
      objc-class-ref in FirebaseAnalytics(FIRAnalytics.o)
      objc-class-ref in FirebaseAnalytics(FIRAMeasurement.o)
      _OBJC_CLASS_$_FIRAMeasurement in FirebaseAnalytics(FIRAMeasurement.o)
  "_OBJC_CLASS_$_APMScreenViewReporter", referenced from:
      objc-class-ref in FirebaseAnalytics(FIRAScreenViewReporter.o)
      _OBJC_CLASS_$_FIRAScreenViewReporter in FirebaseAnalytics(FIRAScreenViewReporter.o)
  "_OBJC_CLASS_$_APMUserAttribute", referenced from:
      _OBJC_CLASS_$_FIRAUserAttribute in FirebaseAnalytics(FIRAUserAttribute.o)
  "_OBJC_CLASS_$_APMValue", referenced from:
      _OBJC_CLASS_$_FIRAValue in FirebaseAnalytics(FIRAValue.o)
  "_OBJC_METACLASS_$_APMAdExposureReporter", referenced from:
      _OBJC_METACLASS_$_FIRAAdExposureReporter in FirebaseAnalytics(FIRAAdExposureReporter.o)
  "_OBJC_METACLASS_$_APMConditionalUserProperty", referenced from:
      _OBJC_METACLASS_$_FIRAConditionalUserProperty in FirebaseAnalytics(FIRAConditionalUserProperty.o)
  "_OBJC_METACLASS_$_APMConditionalUserPropertyController", referenced from:
      _OBJC_METACLASS_$_FIRAConditionalUserPropertyController in FirebaseAnalytics(FIRAConditionalUserPropertyController.o)
  "_OBJC_METACLASS_$_APMEvent", referenced from:
      _OBJC_METACLASS_$_FIRAEvent in FirebaseAnalytics(FIRAEvent.o)
  "_OBJC_METACLASS_$_APMIdentifiers", referenced from:
      _OBJC_METACLASS_$_FIRAIdentifiers in FirebaseAnalytics(FIRAIdentifiers.o)
  "_OBJC_METACLASS_$_APMMeasurement", referenced from:
      _OBJC_METACLASS_$_FIRAMeasurement in FirebaseAnalytics(FIRAMeasurement.o)
  "_OBJC_METACLASS_$_APMScreenViewReporter", referenced from:
      _OBJC_METACLASS_$_FIRAScreenViewReporter in FirebaseAnalytics(FIRAScreenViewReporter.o)
  "_OBJC_METACLASS_$_APMUserAttribute", referenced from:
      _OBJC_METACLASS_$_FIRAUserAttribute in FirebaseAnalytics(FIRAUserAttribute.o)
  "_OBJC_METACLASS_$_APMValue", referenced from:
      _OBJC_METACLASS_$_FIRAValue in FirebaseAnalytics(FIRAValue.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
DosangGu commented 5 months ago

@aandino-dev I encoutered same issue. After deleting XamarinBuildDownload caches at ~/Library/Caches/XamarinBuildDownload and build succeed.

elvato87 commented 5 months ago

Hello, I'm having the same problem as @aandino-dev, I already followed the readme mentioned by @AdamEssenmacher, I added the following to my csproj: `

<_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('iossimulator-'))">iphonesimulator <_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('ios-'))">iphoneos
<ItemGroup>
    <_CustomLinkFlags Include="-L" />
    <_CustomLinkFlags Include="/usr/lib/swift" />
    <_CustomLinkFlags Include="-L" />
    <_CustomLinkFlags Include="$(_SdkDevPath)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(_SwiftPlatform)" />
    <_CustomLinkFlags Include="-Wl,-rpath" />
    <_CustomLinkFlags Include="-Wl,/usr/lib/swift" />
</ItemGroup>

`

`

<_ExportSymbolsExplicitly>false ` I also added this package [Firebase Installations](https://www.nuget.org/packages/Xamarin.Firebase.Installations/117.2.0.3/) (Is this the one I sould have added?) via nuget and deleted the `XamarinBuildDownload` caches both on my laptop and my mac (I build form windows 10 connected to a macbook air), but I keep getting this message `clang++ salió con el código 1: ld: warning: Could not find or use auto-linked framework 'GoogleAppMeasurement' Undefined symbols for architecture arm64: "_APMAnalyticsConfiguration", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMAppMeasurementOriginFirebase", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMConsentSettings3P", referenced from: +[FIRAnalytics setConsent:] in FirebaseAnalytics(FIRAnalytics.o) "_APMFormattedEventName", referenced from: +[FIRAnalytics logEventWithOrigin:name:parameters:] in FirebaseAnalytics(FIRAnalytics.o) "_APMFormattedUserPropertyName", referenced from: +[FIRAnalytics setUserPropertyString:forName:] in FirebaseAnalytics(FIRAnalytics.o) "_APMIsAnalyticsCollectionDeactivated", referenced from: +[FIRAnalytics startWithConfiguration:options:] in FirebaseAnalytics(FIRAnalytics.o) "_APMIsAnalyticsCollectionEnabled", referenced from: +[FIRAna` My app is for Net 8 Am I missing something?
aandino-dev commented 5 months ago

@aandino-dev I encoutered same issue. After deleting XamarinBuildDownload caches at ~/Library/Caches/XamarinBuildDownload and build succeed.

@DosangGu Thanks worked as a charm.

@elvato87 do you try this, Windows 11 long path issue?

AdamEssenmacher commented 5 months ago

@elvato87 your project should no longer have any direct or transitive references to any packages prefixed with Xamarin.Firebase.iOS.*, including Xamarin.Firebase.iOS.Installations. Microsoft abandoned them and I've published upgraded replacements prefixed with AdamE.Firebase.iOS.*. They are not compatible with each-other.

elvato87 commented 5 months ago

@aandino-dev @AdamEssenmacher I already had long path enabled, but ran the command again just to be sure, then I deleted all of Xamarin.Firebase.iOS.* and added AdamE.Firebase.iOS.Installations, deleted all the files again from the cache and restarted the laptop, and now when I try to build the app using the command line I get an error indicating that could not find 7zip.exe I think I will try with a new project and see what happens, thanks

andyzukunft commented 3 months ago

@AdamEssenmacher Sorry for writing to this closed issue however your earlier statement matches my question perfectly. You state there should be no reference to Xamarin.Firebase.iOS.* however in the readme says that we should add the package Xamarin.Firebase.iOS.Core to the csproj file (by cli).

Can you explain?

AdamEssenmacher commented 3 months ago

The documentation is stale.