-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Produce package without bitcode #95
Comments
There are some workarounds described in this issue on the MAUI project site dotnet/maui#10989 |
The same issue |
I tried the workaround, but after the release, the notifications are not received on IOS. 😭😭😭 |
The ios xamarin bindings for firebase (https://github.com/firebase/firebase-ios-sdk) are very old. Current firebase SDK version is 10.2.0. The bindings are still firebase 8.10. |
I've created a new version 1.2.3 of the plugin which contains the newest versions of the native firebase nuget packages. I'm not able to test if this fixes your problem, so please let me know or close this issue, thanks! :) |
Sadly the issue still persists.
|
Arye you sure? All the frameworks you've listed seem to be related to Facebook and not to Firebase. |
Yes sorry, you are right! I forgot the facebook sdk is included because of the authentication feature Sign in with facebook. Unfortunately the plugin already uses the newest version of the facebook sdk which contains this problem. There is already an issue created in the xamarin facebook repository, but no response so far...I'm afraid you have to wait until that's fixed or you fork the plugin and exclude the facebook sdk. |
thank you very much! I'll do that |
I'm REASONABLY certain that I managed to correctly build a release package and deploy it to App Store without utilising the bitcode stripping workaround using package 1.2.3. @nebula2 is it possible you have other references to an older facebook sdk? |
at least not intentionally. do you use facebook auth? do you have linking enabled for your release build? I am building a version of this package without the facebook stuff and see what happens. |
I removed everything auth-related and it worked. |
@nebula2 I am using auth in the app and need to publish to TestFlight. I only need Auth for now. Is it possible to Link the Facebook SDK away from the ipa. |
I just cloned the code and removed everything but push notifications. |
It would be much easier for me and if it is possible to link the undesired features. This way I don't have to maintain a separate repo. |
Failed to create release build in iOS due to bitcode issue of Plugin.Firebase in .net MAUI having dotnet 7. How to disable bitcode??? I am facing below issue for GoogleAppMeasurement in iOS when making release build : I have tried the workaround #10989 but still facing below issue for Google Sign In : |
I'll create a new version of the plugin as suggested by vhugogarcia in #115 (comment) as soon as I find the time for it, maybe this will help solving this particular problem. Until then you can follow nebular2s advice: #95 (comment) |
It this work for dotnet 7 in .net maui? |
@Priyabaghelgithub yes, it does! |
I am having a similar issue and I packed a sample repo that ios release is rejected directly. Although I don't receive a rejection reason, the app is directly deleted from the App store TestFlight. with "Invalid Binary" reason. #148 I used the Tmp version, unfortunately, it doesn't have Auth. |
There are issues in xamarin.ios binding project about bitcode: https://github.com/xamarin/xamarin-macios/search?q=bitcode&type=issues ; xamarin/xamarin-macios#17152 |
@TobiasBuchholz |
If the Plugin.Firebase package is included in a dotnet MAUI project the iOS ipa package created includes Bitcode in the incorporated static framework. Apple rejects any ipa including bitcode when submitting to the App Store. I'm hoping the nuget package can be modified to produce non-bitcode iOS frameworks?
For reference, with dotnet 6.0 build tooling I could strip the bitcode but with dotnet 7.0 tooling the bitcode isn't removed and so I can't submit an app to the App Store that incorporates Firebase (using this plugin)
The text was updated successfully, but these errors were encountered: