maui
maui copied to clipboard
[M1] 7.0 Maui Blazor app displays blank on iOS 16.2 simulator.
Description
- Run 7.0 Maui Blazor app displays blank on iOS 16.2 simulator.
- The download NuGet.Config file need to add the below internal feed. https://pkgs.dev.azure.com/dnceng/internal/_packaging/6.0.406-servicing.23074.33-shipping/nuget/v3/index.json https://pkgs.dev.azure.com/dnceng/internal/_packaging/7.0.200-rtm.23080.6-shipping/nuget/v3/index.json
Steps to Reproduce
- Install the .NET 7.0 SDK.
- Download the rollback.json file from here.
- Download the NuGet.Config file from here.
- Place the NuGet.Config and rollback.json files in the same directory (make sure there's no global.json file in the directory or directory tree above).
- Open a terminal and cd into the directory with the NuGet.Config and rollback.json files.
- Run the workload install command:
sudo dotnet workload install maui ios maccatalyst android macos tvos --from-rollback-file ./rollback.json - Run the project & ensure you see the application.
dotnet build -t:Run -f net7.0-ios - The error is as shown below:

Link to public reproduction project repository
No
Version with bug
Unknown/Other (please specify)
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
MacOS SDK 7.0.300-preview.23101.11
Did you find any workaround?
No
Relevant log output
admin@11098542-04 maui-blazor-cti % dotnet build -t:Run -f net7.0-iosMSBuild version 17.6.0-preview-23101-01+7cfb36cb9 for .NET Determining projects to restore... All projects are up-to-date for restore./usr/local/share/dotnet/sdk/7.0.300-preview.23101.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(287,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/Users/admin/.nuget/NuGet/maui_from_mac/maui-blazor-cti/maui-blazor-cti.csproj::TargetFramework=net7.0-ios] Detected signing identity: Bundle Id: com.companyname.maui_blazor_cti App Id: com.companyname.maui_blazor_cti maui-blazor-cti -> /Users/admin/.nuget/NuGet/maui_from_mac/maui-blazor-cti/bin/Debug/net7.0-ios/iossimulator-x64/maui-blazor-cti.dll Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink xcrun simctl launch --stdout=/dev/ttys002 --stderr=/dev/ttys003 --terminate-running-process F0A4F495-4FA3-40A7-9CAF-4F1D1F8839B7 com.companyname.maui_blazor_cti com.companyname.maui_blazor_cti: 39523objc[39523]: Class CDPCAReporter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDPInternal.framework/CoreCDPInternal (0x160c631d8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDP.framework/CoreCDP (0x15bef4eb0). One of the two will be used. Which one is undefined.objc[39523]: Class CDPCABackupRecoveryReporter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDPInternal.framework/CoreCDPInternal (0x160c63ef8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDP.framework/CoreCDP (0x15bef50e0). One of the two will be used. Which one is undefined.2023-02-02 02:39:56.732038-0800 maui-blazor-cti[39523:787342] Microsoft.iOS: Socket error while connecting to IDE on 127.0.0.1:10000: Connection refused2023-02-02 02:39:59.246706-0800 maui-blazor-cti[39523:787165] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=395232023-02-02 02:39:59.249188-0800 maui-blazor-cti[39523:787165] SecTaskCopyDebugDescription: maui-blazor-cti[39523]/0#-1 LF=02023-02-02 02:39:59.316967-0800 maui-blazor-cti[39523:787165] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=395232023-02-02 02:39:59.318155-0800 maui-blazor-cti[39523:787165] SecTaskCopyDebugDescription: maui-blazor-cti[39523]/0#-1 LF=02023-02-02 02:39:59.370799-0800 maui-blazor-cti[39523:787165] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")2023-02-02 02:39:59.371483-0800 maui-blazor-cti[39523:787165] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")2023-02-02 02:39:59.631399-0800 maui-blazor-cti[39523:787527] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=395232023-02-02 02:39:59.632173-0800 maui-blazor-cti[39523:787527] SecTaskCopyDebugDescription: maui-blazor-cti[39523]/0#-1 LF=02023-02-02 02:39:59.731863-0800 maui-blazor-cti[39523:787165] [unspecified] container_query_get_single_result: error = 2→(98) NOT_CODESIGNED2023-02-02 02:39:59.732149-0800 maui-blazor-cti[39523:787165] [unspecified] container_system_group_path_for_identifier: error = ((container_error_t)98) NOT_CODESIGNED2023-02-02 02:39:59.732232-0800 maui-blazor-cti[39523:787165] [MC] Error getting system group container for systemgroup.com.apple.configurationprofiles: 982023-02-02 02:39:59.733147-0800 maui-blazor-cti[39523:787165] [MC] Failed to get profile system group container path. Overriding with expected path: /Users/admin/Library/Developer/CoreSimulator/Devices/F0A4F495-4FA3-40A7-9CAF-4F1D1F8839B7/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles2023-02-02 02:39:59.761163-0800 maui-blazor-cti[39523:787527] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=395232023-02-02 02:39:59.762484-0800 maui-blazor-cti[39523:787527] SecTaskCopyDebugDescription: maui-blazor-cti[39523]/0#-1 LF=02023-02-02 02:39:59.765718-0800 maui-blazor-cti[39523:787165] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=395232023-02-02 02:39:59.766517-0800 maui-blazor-cti[39523:787165] SecTaskCopyDebugDescription: maui-blazor-cti[39523]/0#-1 LF=02023-02-02 02:39:59.766687-0800 maui-blazor-cti[39523:787165] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=395232023-02-02 02:39:59.767151-0800 maui-blazor-cti[39523:787165] SecTaskCopyDebugDescription: maui-blazor-cti[39523]/0#-1 LF=02023-02-02 02:40:00.045974-0800 maui-blazor-cti[39523:787165] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=395232023-02-02 02:40:00.047138-0800 maui-blazor-cti[39523:787165] SecTaskCopyDebugDescription: maui-blazor-cti[39523]/0#-1 LF=02023-02-02 02:40:00.745740-0800 maui-blazor-cti[39523:787165] [Process] 0x17306c100 - [PID=39549] WebProcessProxy::didClose: (web process 0 crash)2023-02-02 02:40:00.746005-0800 maui-blazor-cti[39523:787165] [Process] 0x17306c100 - [PID=39549] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash2023-02-02 02:40:00.746283-0800 maui-blazor-cti[39523:787165] [ProcessSuspension] 0x173020540 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID 0 is invalid2023-02-02 02:40:00.746396-0800 maui-blazor-cti[39523:787528] [ProcessSuspension] 0x173020540 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0, error: (null)2023-02-02 02:40:00.747175-0800 maui-blazor-cti[39523:787165] [Process] 0x7f9ab2c8c420 - [pageProxyID=7, webPageID=8, PID=39549] WebPageProxy::processDidTerminate: (pid 39549), reason=Crash2023-02-02 02:40:00.755084-0800 maui-blazor-cti[39523:787165] [Loading] 0x7f9ab2c8c420 - [pageProxyID=7, webPageID=8, PID=39549] WebPageProxy::dispatchProcessDidTerminate: reason=Crash2023-02-02 02:40:00.762160-0800 maui-blazor-cti[39523:787165] [ProcessSuspension] ProcessAssertion::remainingRunTimeInSeconds failed to get handle for process with PID=395492023-02-02 02:40:00.763151-0800 maui-blazor-cti[39523:787530] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>2023-02-02 02:40:00.763220-0800 maui-blazor-cti[39523:787530] [ProcessSuspension] 0x1730203c0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'WebProcess Background Assertion' for process with PID=39549, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}2023-02-02 02:40:00.765686-0800 maui-blazor-cti[39523:787530] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>2023-02-02 02:40:00.765776-0800 maui-blazor-cti[39523:787530] [ProcessSuspension] 0x1730205a0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'WebProcess Suspended Assertion' for process with PID=39549, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}2023-02-02 02:40:29.931039-0800 maui-blazor-cti[39523:787165] [ProcessSuspension] 0x7f9ab1bf76b0 - TimedActivity::activityTimedOut:2023-02-02 02:40:30.748040-0800 maui-blazor-cti[39523:787165] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified serviceBuild succeeded. 0 Warning(s) 0 Error(s)
me too,
Visual Studio 17.4Visual Studio for MAC 17.4.4,.NET 6.0.405,Xcode 14.2andXcode 14.1.0,M1Mac mini,MaOS venturaEnenly in default hybrid app is not work
Thanks for contacting us. Can you try this scenario with a MAUI app (non-Blazor) and share whether you see similar issue or not?
Apparently there are no further Ventura-related issues, so as long as everything is up-to-date, it should be fine. Check updates for Xcode, Visual Studio, and .NET.
Thanks for contacting us. Can you try this scenario with a MAUI app (non-Blazor) and share whether you see similar issue or not?
I already try this. If I use MAUI without Hybrid it's work clean. Have a problem with Blazor hybrid.
@Eilon in which social network we can talk to you to explain the issues
Likewise, same socket error for iOS simulator while other targets of Android and Mac Catalyst work.
Create a new MAUI Blazor App, and launching the template fails with white screen and mirrors the socket error of the original post here in this issue.
Possibly related to: https://github.com/dotnet/maui/issues/12124
.NET Version: 7.0.101 macOS Monterey 12.6.3 (21G419)
objc[5009]: Class CDPCAReporter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDPInternal.framework/CoreCDPInternal (0x160edf1d8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDP.framework/CoreCDP (0x15c170eb0). One of the two will be used. Which one is undefined.
objc[5009]: Class CDPCABackupRecoveryReporter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDPInternal.framework/CoreCDPInternal (0x160edfef8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreCDP.framework/CoreCDP (0x15c1710e0). One of the two will be used. Which one is undefined.
2023-02-26 00:55:34.285352-0600 MauiApp1[5009:37390] Microsoft.iOS: Socket error while connecting to IDE on 127.0.0.1:10000: Connection refused
2023-02-26 00:55:35.871038-0600 MauiApp1[5009:37282] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5009
2023-02-26 00:55:35.873490-0600 MauiApp1[5009:37282] SecTaskCopyDebugDescription: MauiApp1[5009]/0#-1 LF=0
2023-02-26 00:55:35.941774-0600 MauiApp1[5009:37282] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5009
2023-02-26 00:55:35.942825-0600 MauiApp1[5009:37282] SecTaskCopyDebugDescription: MauiApp1[5009]/0#-1 LF=0
2023-02-26 00:55:35.990692-0600 MauiApp1[5009:37282] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
2023-02-26 00:55:35.991324-0600 MauiApp1[5009:37282] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
2023-02-26 00:55:36.220521-0600 MauiApp1[5009:37389] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5009
2023-02-26 00:55:36.221216-0600 MauiApp1[5009:37389] SecTaskCopyDebugDescription: MauiApp1[5009]/0#-1 LF=0
2023-02-26 00:55:36.299340-0600 MauiApp1[5009:37282] [unspecified] container_query_get_single_result: error = 2→(98) NOT_CODESIGNED
2023-02-26 00:55:36.299607-0600 MauiApp1[5009:37282] [unspecified] container_system_group_path_for_identifier: error = ((container_error_t)98) NOT_CODESIGNED
2023-02-26 00:55:36.299683-0600 MauiApp1[5009:37282] [MC] Error getting system group container for systemgroup.com.apple.configurationprofiles: 98
2023-02-26 00:55:36.300382-0600 MauiApp1[5009:37282] [MC] Failed to get profile system group container path. Overriding with expected path: /Users/jasonsturges/Library/Developer/CoreSimulator/Devices/9B68E8C6-299A-4110-B892-1B9F1294C068/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2023-02-26 00:55:36.325292-0600 MauiApp1[5009:37453] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5009
2023-02-26 00:55:36.326071-0600 MauiApp1[5009:37453] SecTaskCopyDebugDescription: MauiApp1[5009]/0#-1 LF=0
2023-02-26 00:55:36.329970-0600 MauiApp1[5009:37282] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5009
2023-02-26 00:55:36.330421-0600 MauiApp1[5009:37282] SecTaskCopyDebugDescription: MauiApp1[5009]/0#-1 LF=0
2023-02-26 00:55:36.330563-0600 MauiApp1[5009:37282] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5009
2023-02-26 00:55:36.330975-0600 MauiApp1[5009:37282] SecTaskCopyDebugDescription: MauiApp1[5009]/0#-1 LF=0
2023-02-26 00:55:36.569434-0600 MauiApp1[5009:37282] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=5009
2023-02-26 00:55:36.570354-0600 MauiApp1[5009:37282] SecTaskCopyDebugDescription: MauiApp1[5009]/0#-1 LF=0
2023-02-26 00:55:37.020705-0600 MauiApp1[5009:37282] [Process] 0x17306c100 - [PID=5026] WebProcessProxy::didClose: (web process 0 crash)
2023-02-26 00:55:37.021000-0600 MauiApp1[5009:37282] [Process] 0x17306c100 - [PID=5026] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash
2023-02-26 00:55:37.021281-0600 MauiApp1[5009:37282] [ProcessSuspension] 0x173020300 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID 0 is invalid
2023-02-26 00:55:37.021585-0600 MauiApp1[5009:37453] [ProcessSuspension] 0x173020300 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=0, error: (null)
2023-02-26 00:55:37.022420-0600 MauiApp1[5009:37282] [Process] 0x7f9e97e10220 - [pageProxyID=7, webPageID=8, PID=5026] WebPageProxy::processDidTerminate: (pid 5026), reason=Crash
2023-02-26 00:55:37.029158-0600 MauiApp1[5009:37282] [Loading] 0x7f9e97e10220 - [pageProxyID=7, webPageID=8, PID=5026] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
2023-02-26 00:55:37.035221-0600 MauiApp1[5009:37282] [ProcessSuspension] ProcessAssertion::remainingRunTimeInSeconds failed to get handle for process with PID=5026
2023-02-26 00:55:37.036302-0600 MauiApp1[5009:37453] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>
2023-02-26 00:55:37.036395-0600 MauiApp1[5009:37453] [ProcessSuspension] 0x173020420 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'WebProcess Background Assertion' for process with PID=5026, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}
2023-02-26 00:55:37.038813-0600 MauiApp1[5009:37453] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>
2023-02-26 00:55:37.038928-0600 MauiApp1[5009:37453] [ProcessSuspension] 0x173020540 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'WebProcess Suspended Assertion' for process with PID=5026, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}
2023-02-26 00:56:06.466250-0600 MauiApp1[5009:37282] [ProcessSuspension] 0x7f9e97e5cab0 - TimedActivity::activityTimedOut:
2023-02-26 00:56:07.024220-0600 MauiApp1[5009:37282] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Facing same issue with 16.2 Simulator on M1. UI shows blank and I am stuck in limbo with new VS for mac update it requires newer Xcode 14.2 because Microsoft.iOS is upgraded and not compatible with Xcode 14.0 or 14.1 and there is no way to downgrade Visual Studio for Mac. And new VS donot deploy on physical device too.
@Arslan007 Interesting - I'm on Xcode 14.2 and experiencing the issue, looks like it broke in Xcode 14.2 on iOS 16.2.
@jasonsturges If i am not mistaken you meant Xcode 14.2. Yes its mainly Xcode 14.2 and new VS for mac 17.5 issue which is not supporting MAUI for Blazor Hybrid apps
I am having the same issue. MAUI Blazor app gives a white screen in iOS simulator.
Xcode 14.2 iOS 16.2 Visual Studio for mac 17.5. Macbook Pro M2
When I debug the same app on my iPhone it works normally. It also works with Android simulator. So it seems to be something with the iOS simulator in specific.
For me its failing with device too
Did anyone found a solution to this? I am having blank app on both real iPhone and simulator.
No solutions so far. And still waiting for any response from MSFT
I have tried using Xcode 14.2, Xcode 14.1 and Xcode 13 in Azure Pipelines as well and still get this problem. Tried both .NET 7 and .NET 8 Preview 1.
Having the same issue. (create a new MAUI blazor app) run the application in the iOS simulator, the application is just a blank screen. I have tried downgrading to Xcode 14.1 which did not work either.
@mkArtakMSFT Is it possible to assign a new developer to this since it is blocking the creation of new .net MAUI blazor applications for iOS?
ya stressing here. I have a MAUI go-live on the 1st and supposed to be going into UAT monday. sweating bullets here....
Specifying the RunTimeIdentifier as iossimulator when debugging (provided release is done on the phone) you can add the following code to your .csproj file:
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios' and $(Configuration) == 'Release'">
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
<CodesignEntitlement>Entitlements.plist</CodesignEntitlement>
<ArchiveOnBuild>true</ArchiveOnBuild>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios' and $(Configuration) == 'Debug'">
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
<RuntimeIdentifier>iossimulator-arm64</RuntimeIdentifier>
</PropertyGroup>
There seems to be some weird interaction happening when using M1 or M2 macs and running the simulator.
thank you, I added the following 2 lines to the project file and it worked
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
<RuntimeIdentifier>iossimulator-arm64</RuntimeIdentifier>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-ios|AnyCPU'">
<CreatePackage>false</CreatePackage>
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
<RuntimeIdentifier>iossimulator-arm64</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup>

For me its still not working for simulator even specifying the runtime for simulator
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.2.1040/targets/Xamarin.Shared.Sdk.targets(3,3): Error: clang++ exited with code 1:
ld: in /App/obj/Debug/net7.0-ios/iossimulator-arm64/linker-cache/AppCenterAnalytics.a(MSACAnalytics.o), building for iOS Simulator, but linking in object file built for iOS, file '/App/obj/Debug/net7.0-ios/iossimulator-arm64/linker-cache/AppCenterAnalytics.a'
clang: error: linker command failed with exit code 1 (use -v to see invocation) (App)
It might be because my app uses AppCenter MAUI package and that lib doesn't have .a file slice for simulator
Can anybody check if this reproduces in an app without Blazor (just MAUI app and a WebView)?
@mkArtakMSFT Creating a new MAUI application (without Blazor) from the standard MAUI template seems to work as intended without the aforementioned fix.

@mkArtakMSFT Issue seems isolated to Blazor - as @Thepriestdude indicated, MAUI App (without Blazor) functions perfectly.
Some folks looked into this and apparently it's an issue due to arm64/x64 differences in various binaries used in such projects. You can read more here, including a workaround that you can use right now: https://github.com/xamarin/xamarin-macios/issues/17841
Hi all!
I was facing the same issue, but when I tried with Xcode 14.3 it started to work again!
I guess 14.3 is not supported yet, but hey. The application starts at least 😅
Sorry, was forgetting: I'm using VS Preview Version 17.6.0 Preview 2.0
Hi all! I was facing the same issue, but when I tried with Xcode 14.3 it started to work again! I guess 14.3 is not supported yet, but hey. The application starts at least 😅 Sorry, was forgetting: I'm using VS Preview Version 17.6.0 Preview 2.0
This solution worked!! Had been struggling with ios simulator for months and I think the latest update just fixed it.
Had all the same issues mentioned above (including AppCenter MAUI / Blazor issues) causing app in simulator to crash. Just deleting <RuntimeIdentifier>ios-arm64</RuntimeIdentifier> or adding <RuntimeIdentifier>iossimulator-arm64</RuntimeIdentifier> to .csproj got app to load in iOS simulator, but the app was still crashing after some login/appcenter interactions.
After the upgrade to XCode 14.3 and the latest MAUI and .Net 7.0 (whatever the defaults in "Check for Updates" were), all the app crashing issues in the simulator have been resolved! I am running VS 17.5.4, and didn't have to upgrade that.
I tried with Xcode 14.3 it started to work again, maybe this issue has been fixed. I'll keep tracking this issue and close it if it doesn't reproduce.
I can't repro this issue anymore with Xcode 14.3 update, it seems Apple fixed this on their side.