In this section, we will take a look at how to compile and run our PlanetaryApp. You have the option of choosing to run your application using an actual device, or choosing from a list of simulators available for an iOS device.
Let's begin by performing the following steps:
- Ensure that you have chosen the PlanetaryApp.iOS project from the drop-down menu.
- Next, choose your preferred device from the list of available iOS simulators.
- Then, select the Run|Start Without Debugging menu option, as shown in the following screenshot:
- Alternatively, you can also build and run the PlanetaryApp by pressing command + Enter.
When the compilation is complete, the iOS simulator will appear automatically and the PlanetaryApp application will be displayed, as shown in the following screenshot:
As you can see from the preceding screenshot, this currently displays a list of static planetary entries that are displayed in our ListView control contained in our XAML. Congratulations, you have successfully built your first Xamarin.Forms application, as well as the user interface using XAML for the PlanetaryApp ContentPage used by our app!