-
MAUI iOS App got rejected because of following error:
I'm using Visual Studio 2022 Comunity Edition (v17.7) to compile and build the app. The app targets only iOS platform, I have removed Windows, Android and Mac from the targetted platforms list. Third-Party Nuget Packages Installed:
Can anyone suggest a solution for this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You might be building your debug configuration and signing that, rather than the release configuration which strips all unused APIs (including all the private APIs). |
Beta Was this translation helpful? Give feedback.
-
Thank you @JohnHDev for pointing me in the right direction, the culprit was "Xamarin.Firebase.iOS.Database" plugin, it worked fine in Debug builds but in the release build it was failing. Someone faced the same issue here: xamarin/GoogleApisForiOSComponents#617 So I replaced it with FirebaseDatabase.net plugin. |
Beta Was this translation helpful? Give feedback.
Thank you @JohnHDev for pointing me in the right direction, the culprit was "Xamarin.Firebase.iOS.Database" plugin, it worked fine in Debug builds but in the release build it was failing.
Someone faced the same issue here: xamarin/GoogleApisForiOSComponents#617
So I replaced it with FirebaseDatabase.net plugin.