I'm pretty new to xamarin, tried to run a sample application (IOS). But Visual Studio says: "Please select a valid device before running the application"
I know on the IOS toolbar, there should be option to select which device to simulate (list of supported IOS devices like iphone 6, 5s etc), but I don't get that.
EDIT: To be more precise, TARGET IOS Device not shown on IOS Tool bar
Another possible cause: Mistakes in editing your iOS platform project's info.plist can cause this to happen.
OR If above steps do not work then try adding new build configuration as shown in following image by selecting iphoneSimulator.
Are you sure that the device is connected to the right machine? When I have a VM open on my iMac, I get prompted for which machine I want to connect a device to.
Also make sure that you have
Debug
andiPhone Simulator
selected.I had the same problem a year back - please check the following:
I think for me it was outdated versions and a hickup in the software, after a reboot it worked.
I had a similar issue. However, I was able to resolve it by going to XCode>Preferences>Accounts>ViewDetails>Download all. This caused visual studio to now display my device IOS name in the dropdown menu.