Node Devices
Node Devices

Reputation: 41

MAUI IOS publish fails .net8.0 BrowserEngineKit

I have problem when publish maui app with transporter. I recieve the following isue:

Invalid SDK usage. The following frameworks aren’t permitted for apps using an alternative web browser engine: [BrowserEngineKit]. (91017)

I think do not use "BrowserEngineKit", can someone know this issue and help to fix it?

I tried to remove BrowserEngineKit, but I do not know why it is used.

Upvotes: 3

Views: 326

Answers (1)

nbuchert
nbuchert

Reputation: 11

According to this issue: https://github.com/xamarin/xamarin-macios/issues/21324 you can use the supplied workaround:

Add this to your project file (csproj):

<Target Name="DoNotLinkWithBrowserEngineKit" AfterTargets="_ComputeLinkNativeExecutableInputs">
    <ItemGroup>
        <_NativeExecutableFrameworks Remove="BrowserEngineKit" />
    </ItemGroup>
</Target>

Upvotes: 1

Related Questions