Xamarin IOs IPA with Distribution ProvProfile failed

Juan Zamora 1 Reputation point
2021-12-28T00:57:01.803+00:00

Hi,

I'm working using Xamarin Forms 5.0.0.2012.

The main problem is when I signed the IPA file with a distribution ProvProfile, nothing's work but show the app run and show the first screen.
When I run in development mode, everything working coool.

I was reviewing and see that when I signed for distribution, any classes file I used trhow a Error, for example, I do this codeprivate async void BtnRegistrarse_Clicked(object sender, EventArgs e)

private async void BtnRegistrarse_Clicked(object sender, EventArgs e)
        {
            try
            {
                await ((NavigationPage)this.Parent).PushAsync(new RegisterPage());
            }
            catch (Exception ex)
            {
                await DisplayAlert("Mensaje", ex.Message + ex.InnerException, "Ok");
            }

        }

and the given message is "value cannot be null. parameter name: method"

I've been struggling with this for over a year, if anyone can help me I was so thankfully!

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,298 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,350 questions
{count} votes