You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't compile release ipa for iOS MAUI app (.NET8).
Compiler works fine with debug configuration (with Hot Restart enabled and my local device).
Compiler throws these errors for release configuration:
Tool xcrun execution finished (exit code = 1).
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : clang++ exited with code 1:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : Undefined symbols for architecture arm64:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRAnalytics", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRApp", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRAuth", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRAuthResult", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRAuthUser", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRMessaging", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : ld: symbol(s) not found for architecture arm64
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : clang++: error: linker command failed with exit code 1 (use -v to see invocation)
My environment:
Windows + Visual Studio (Version 17.12.3) + MacinCloud (Mac Mini 2023 M2 16GB RAM
macOS Sonoma XCode 16.2);
Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
I have found solution to resolve compiling issue. I have set "Reference Output Assembly" property to True on interop library in Sample project dependencies.
After that I have added Firebase.MaciOS.Binding library code to another solution and without success. Compared successful and failed compilation logs. They differ in Firebase.MaciOS.Binding letters case. Original solution has "Macios" letters when project file has "MaciOS". Then I made the same in my solution it has started compile. Maybe some could explain that behavior.
I can't compile release ipa for iOS MAUI app (.NET8).
Compiler works fine with debug configuration (with Hot Restart enabled and my local device).
Compiler throws these errors for release configuration:
Tool xcrun execution finished (exit code = 1).
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : clang++ exited with code 1:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : Undefined symbols for architecture arm64:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRAnalytics", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRApp", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRAuth", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRAuthResult", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRAuthUser", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : "OBJC_CLASS$_MauiFIRMessaging", referenced from:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : in registrar.o
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : ld: symbol(s) not found for architecture arm64
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk.net8.0_18.0\18.0.8316\targets\Xamarin.Shared.Sdk.targets(1648,3): error : clang++: error: linker command failed with exit code 1 (use -v to see invocation)
My environment:
Windows + Visual Studio (Version 17.12.3) + MacinCloud (Mac Mini 2023 M2 16GB RAM
macOS Sonoma XCode 16.2);
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: