Skip to main content
Version: 11.0.x

How To Build and Run on the iOS Simulator

Please ensure you have followed the guide Building Cross-Platform Applications.

Assuming you have created a project called HelloWorld. Enter the directory HelloWorld.iOS from the command line.

To build the project for iOS run the following command.

dotnet build

To run the project in a simulator, run the following command.

dotnet run
Application running on iPad simulator

If you use JetBrains Rider or Visual Studio for Mac you can open the solution and run, build and debug your program inside the simulator.