Skip to content

App Store, consume REST-based web service: Exception message 'Typeinitialization_Type, a' #21852

@PureWeen

Description

@PureWeen

Issue moved from dotnet/maui#26793


From @bluebeenet on Monday, December 23, 2024 9:32:53 PM

Description

I already have several versions of my app in .net 8 approved by Apple but when updating it to .net 9 it was rejected for failing on iPad Air 5th generation, I managed to get it approved with 'UseInterpreter'.

When launching this version in release from VS paired with my mac to my iPhone device everything works fine. But when launching it from the App Store, when consuming a REST-based web service an Exception occurs with the message "Typeinitialization_Type, a".

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.21 SR2.1

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.100 SR10

Affected platforms

iOS

Affected platform versions

iOS Version 18.2, iPadOS Version 18.1.1

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    need-attentionAn issue requires our attention/response

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions