简体   繁体   中英

.NET Maui starts iOS simulator but does not deploy app

My app runs fine on the Android simulator, but when I choose a iOS simulator it starts it up but does not deploy/run the app on the simulator.

The log file is pretty inconclusive:

Start device request:
Current State: Unknown
UUID: 8F4ABBAE-84B1-4435-992C-9936F50CC66B
Name: iPhone 14 Pro
Platform: iOS
Version: 16.2
Device state changed:
UUID: 8F4ABBAE-84B1-4435-992C-9936F50CC66B
State: Starting
Device state changed:
UUID: 8F4ABBAE-84B1-4435-992C-9936F50CC66B
State: Started
SizeForScreen:
Monitor: 0,0,1920,1032
Scale: 1,1
Source: 1179,2556
extraHeight: 84
Connection state changed:
State: Disconnected
Connection state changed:
State: Connecting
SSH Connect:
target: 192.168.1.108
Using SSH pass phrase
SSH connected
Connection state changed:
State: SshConnected
Connection state changed:
State: CheckingServer
Connection state changed:
State: SettingUpServer
Starting server
[Server] ready:49378
Connection state changed:
State: Connecting
Connection state changed:
State: CheckingServer
Connection state changed:
State: Connected
Device state changed:
    UUID: 8F4ABBAE-84B1-4435-992C-9936F50CC66B
State: Starting
Device state changed:
    UUID: 8F4ABBAE-84B1-4435-992C-9936F50CC66B
State: Started

And no errors in the output window. Visual Studio 2022 CE 17.4.3 and Mac OS Ventura 13.1

Xcode 14.2 is being worked on and it's not supported yet. And from the release note of Visual Studio 2022 version 17.4.3 , we can find that:

Adds Xcode 14.1 support for .NET for iOS, tvOS, macOS, Mac Catalyst.

So, you can try to deploy your app to another emulator with a lower version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM