Closed fabEps closed 1 month ago
Yeah, this is an underlying SDK issue, which should be resolved when https://github.com/xamarin/xamarin-macios/pull/21337 lands. And the workaround for unlinking BrowserEngineKit (https://github.com/xamarin/xamarin-macios/issues/21324#issuecomment-2382226489) should be fine for now.
Duplicate of https://github.com/xamarin/xamarin-macios/issues/21324
Description
I'm currently not able anymore to publish my (two different) MAUI Apps to the Apple App Store, since it gets rejected:
Hello, We noticed one or more issues with a recent delivery for the following app: ... Please correct the following issues and upload a new binary to App Store Connect. ITMS-91017: Invalid SDK usage - The following frameworks aren’t permitted for apps using an alternative web browser engine: [BrowserEngineKit].
I installed the new .NET 8 SDK 8.0.402 update and the new workloads on our Mac Mini Buildserver, to support Xcode 16: https://github.com/xamarin/xamarin-macios/releases/tag/dotnet-8.0.1xx-xcode16.0-8303.
In the xcrun command from the build log, I can see the forbidden framework as weak_framework:
-weak_framework BrowserEngineKit
(see complete logoutput).I tried to uninstall several NuGets (AppCenter, Firebase Cloud Messaging, InAppBilling), without success.
There are also some other guys encountering this problem: https://stackoverflow.com/questions/79030828/maui-ios-publish-fails-net8-0-browserenginekit
My App uses the WebView control - I created a custom one, but it derives from Microsoft.Maui.Controls.WebView which PlatformView is MauiWKWebView (WKWebView) and this should be fine, yes?
Of course, this happens when I have an app release coming up.. So is there a workaround?
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.91 SR9.1
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
8.0.80 SR8
Affected platforms
iOS
Affected platform versions
iOS 17/18
Did you find any workaround?
Yes, use
Relevant log output