We’ve got been efficiently utilizing Plugin.Firebase for a very long time however now when upgrading to v3.1.1 we get this compilation error:
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : clang++ exited with code 1: [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : Undefined symbols for structure arm64: [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : "__swift_FORCE_LOAD_$_swiftCompatibility50", referenced from: [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : __swift_FORCE_LOAD_$_swiftCompatibility50_$_FirebaseAnalytics in FirebaseAnalytics[17](Analytics+StoreKit.o) [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : "__swift_FORCE_LOAD_$_swiftCompatibility51", referenced from: [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : __swift_FORCE_LOAD_$_swiftCompatibility51_$_FirebaseAnalytics in FirebaseAnalytics[17](Analytics+StoreKit.o) [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : "__swift_FORCE_LOAD_$_swiftCompatibilityConcurrency", referenced from: [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FirebaseAnalytics in FirebaseAnalytics[17](Analytics+StoreKit.o) [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : "__swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements", referenced from: [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_FirebaseAnalytics in FirebaseAnalytics[17](Analytics+StoreKit.o) [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : ld: image(s) not discovered for structure arm64 [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
/Customers/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8314/targets/Xamarin.Shared.Sdk.targets(1648,3): error : clang++: error: linker command failed with exit code 1 (use -v to see invocation) [/Users/runner/work/1/s/MyApp/A/MyApp.App/MyApp.App.csproj::TargetFramework=net8.0-ios]
In line with this put up one other person appears to have had the identical drawback and there’s a hyperlink to an answer however I simply can’t perceive how you can resolve this problem. Been attempting seemingly all of the completely different related issues in that information. We’re compiling this with XCode 16.1 on Azure Pipelines macOS 14 agent so the trail size problem shouldn’t be related.
We reference it like
ios-arm64
True
Any tips about how you can resolve this? Identical code labored wonderful with model 2.0.14.