TobiasBuchholz / Plugin.Firebase

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

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

Closed Priyabaghelgithub closed 1 year ago

Priyabaghelgithub commented 1 year ago

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 -find bitcode_strip)"C:/Users/abc/AppData/Local/XamarinBui ldDownloadCache/GAppM8.9.1/GoogleAppMeasurement8.9.1/Frameworks/GoogleAppMeasurement.xcframework/iosarm64_armv7/C:/Users/abc/AppData/Local/XamarinBuildDownloadCache/GA ppM8.9.1/GoogleAppMeasurement8.9.1/Frameworks/GoogleAppMeasurement.xcframework/iosarm64_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/GSgnI5.0.2/Frameworks/GoogleSignIn.fram ework/GoogleSignIn -r -C:/Users/abcd/AppData/Local/XamarinBuildDownloadCache/GSgnI5.0.2/Frameworks/GoogleSi gnIn.framework/GoogleSignIn" exited with code 1. [TargetFramework=net7.0-ios]

@TobiasBuchholz

125

TobiasBuchholz commented 1 year ago

Duplicate #95