Not seen mac simulator

Dani_S 3,086 Reputation points
2024-05-28T08:56:44.53+00:00

Hi,

I installed vs code, xcode , and open new maui project and run it.

It is not running, do i need to config ant simulator , I want mac simulator.

Thw error is on missing android simulators & sdk.

How is sone?

Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,062 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 59,056 Reputation points
    2024-05-29T21:40:35.5766667+00:00

    Xcode is used to install / create simulators. Xcode-> Window -> Devices & Simulators. in vscode you pick the platform from the bottom menu bar (left of C#{})

    you should just build with the dotnet cli to see that all is installed and configured:

    https://learn.microsoft.com/en-us/dotnet/maui/ios/cli?view=net-maui-8.0

    vscode maui article:

    https://www.telerik.com/blogs/beyond-basics-getting-started-net-maui-extension-visual-studio-code

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 59,056 Reputation points
    2024-05-28T22:31:46.0033333+00:00

    the default Maui template build all platforms. edit the project file to remove all platforms but what you want.