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
-0f0e74cd0ee717ebf33bb368b40c6b72.png)
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.