I have downloaded Xamarin.Form sample projects from github https://github.com/xamarin/xamarin-forms-samples
Once I open any sample projects, it does not allow me to run on iOS Simulator.
Does any one know how to handle this problem. I am using Xamarin Studio on Mac Operating System.
UPDATE-1:
I have also found the following useful article regarding my issue http://crossplatform.io/2013/12/02/setting-the-active-configuration-in-xamarin-studio/
I chose TabbedPageDemo.iOS--> iOS|Debug
then I could able to see iOS part, however it still does not give me an option of Set As Start Project
SOLUTION
Options --> Configuration-->Configuration Mappings-->ProjectName.iOS-->Debug | iPhoneSimulator
Make sure to set it to Debug | iPhoneSimulator and NOT to Debug | iPhone
Now you could able to see Set As Startup Project option.
In Xamarin Studio (I'm using 5.10.3), click on Project -> Active Configuration -> Debug | iPhoneSimulator
Solution for Visual Studio Mac 2017...
If the Configurations Mapping tab (as detailed in answers above) is not shown, then navigate to iOS > Options > Compiler
Set Configuration to Debug
, and the Platform to iPhoneSimulator
as shown here...
Then, in the Run toolbar, change Debug
to Debug|iPhone Simulator
as shown below...
To
Now you're ready to go :)
You do not need to mess around with configurations - Set As Startup Project is the resolution.
You can see from your screenshot that you have not selected a start up project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With