Failed to create release build in iOS due to bitcode issue of Plugin.Firebase in .net MAUI having dotnet 7.

Priya Baghel 1 Reputation point
2023-01-30T18:27:08.49+00:00

Have implemented fcm push notification in MAUI having .net version 7 from the below link : https://cedricgabrang.medium.com/firebase-push-notifications-in-net-maui-ios-2f4388bf1ac. For testing , creating release build to test on physical device but unable to create build because facing bitcode issue. I am facing below issue for GoogleAppMeasurement in iOS when making release build : C:\Users\abc.nuget\packages\xamarin.firebase.ios.core\8.10.0.3\buildTransitive\Xamarin.Firebase.iOS.Core.tar gets(216,5): error MSB3073: The command ""$(xcrun -findbitcode_strip)"C:/Users/abc/AppData/Local/XamarinBuildDownloadCache/GApp8.9.1/GoogleAppMeasurement8.9.1/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_armv7/Goog leAppMeasurement.framework/GoogleAppMeasuremoC:/Users/abc/AppData/Local/XamarinBuildDownloadCache/GA ppM-8.9.1/GoogleAppMeasurement-8.9.1/Frameworks/GoogleAppMeasurement.xcframework/ios-arm64_armv7/GoogleAppMeasurement.f ramework/GoogleAppMeasurement" exited with code 1. [D:\iOSNotification\iOSNotification\iOSNotification.csproj::TargetFr amework=net7.0-ios] I have tried the workaround #10989 but still facing below issue for Google Sign In : D:\MauiFirebaseDemo-master\MauiFirebaseDemo\MauiFirebaseDemo.csproj(148,3): error MSB3073: The command ""$(xcrun -find bitcode_strip)" C:/Users/abcd/AppData/Local/XamarinBuildDownloadCache/GSgnI-5.0.2/Frameworks/GoogleSignIn.fram ework/GoogleSignIn -r -o C:/Users/abcd/AppData/Local/XamarinBuildDownloadCache/GSgnI-5.0.2/Frameworks/GoogleSi gnIn.framework/GoogleSignIn" exited with code 1. [TargetFramework=net7.0-ios]

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,204 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,882 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Priya Baghel 1 Reputation point
    2023-02-19T17:02:46.08+00:00
    0 comments No comments