Unable to launch iOS Simulator using windows visual studio 2017 - ios

I am working on xamarin forms app and trying to debug app on ios simulator using windows visual studio 2017, but when build the app and try to launch app in the simulator it does not show it, only show build success message in the output window, even visual studio is already connected with mac agent and listing out all available simulator on mac machine. So please help me to sort out this issue and let me know what step should i take to get rid it.
thanks in advance

Related

Xamarin Visual Studio ios simulator not working

We recently acquired mobile solution that contains an ios and android project. Android project runs fine. When i run the ios project i get error stating
My environment is a windows laptop and a macbook pro running visual studio from windows.
I can pair to mac just fine
I am using automatic provisioning which appears to be correct since my team shows up in the team dropdown.
I feel like i did the provisioning correct because team would not show up in dropdown if not.
I have latest xcode installed on mac
I verified simulator runs fine on mac by starting through xcode
In the videos i watched as soon as mac was paired then more options appeared besides just simulator. (ipad, tvos, etc)
One question is when i registered my device i used the UUID from the macbook and not UUID of simulator. Could not get straight answer for this.
To be clear i am just trying to run the simulator and not a remote device.
Honestly i just want to be able to test the ios application. It should not be this many steps to just run a test. Is there a more simple way to test or am i on the right track?
Updating visual studio on my windows machine did the trick. I really wish the error would give me some kind of warning that would lead me to the conclusion that i needed to update visual studio. That would have saved me many hours.

VisualStudio 2017 for Mac - iOS Simulator Starts but Does Not Run the App

I have a MonoGame application for iOS and I want to try it with the iPhone Simulator.
When I run the application from Visual Studio for Mac 2017 (I've also tried Visual Studio for Mac 2019... but the result is the same), the iPhone Simulator starts successfully but it doesn't run my application, i.e. it just shows the standard apps like calendar, mail, news, etc.
Any help would be really appreciated :-)
The problem was that my application was build as a 32-bit executable whereas the iPhone Simulator is a 64-bit application. Specifying the appropriate build options fixed the issue.

Visual Studio 2017 v15.9 Storyboard designer cannot connect to Mac while VS is connected to Mac

Visual Studio 2017 v15.9 on Windows 10 has apparently a new bug: the storyboard designer cannot connect to Mac. Previously in 15.8, the storyboard could connect and many features are working fine, however the ImageView could not work properly. After upgrading to to VS 2017 v15.9, the storyboard editor could not connect to Mac thus could not be opened, while VS is actually connecting to Mac and is able to compile and debug and deploy iOS app to simulators and devices.
I am having Mac Mini and xcode 10.1, but no VS for Mac. It is easy to replicate: just create a new Xamarin app with iOS project. After compiling and testing in simulators running in mac to prove things are OK, then double click on either LaunchScreen.storyboard or Main.storyboard created by scaffolding, then the designer tries to connect to Mac and end up with error message: "The iOS Designer requires an active connection to a Mac server. Please connect to a Mac to enable the designer.".
Now all my iOS apps work however I could not alter any storyboard. I don't like modifying the XML directly in a text editor.
I had spent hours researching solutions or hacks, so far no luck. Do you have some ideas? Cheers.
Here is a problem report that matches your bug description.
Visual Studio 15.9.2 has just been released, so try updating Visual Studio.
Here is a snippet of the Visual Studio 15.9.2 release notes:
Issues Fixed in 15.9.2
Xamarin iOS designer not working with 15.9 and Xamarin.iOS 12.2.1.10.

Device showing as disabled while trying to instrument the app + Xamarin.iOS

I am trying to instrument an app by connecting the device to Visual Studio Community for Mac (version 7.3.3). I am able to install and run the app in device, but when instrumenting its showing as disabled.
After updating the Xcode, Visual Studio (for Mac) and the iOS version the device is getting detected now. Its showing in enabled state. I have updated my Xcode to 9.4.1 and Visual Studio to 7.5.3 and iOS version to 11.4.
In case you are facing the same issue make sure everything is up todate.

Visual studio error unable to start debigging xamarin.forms ios project

I code with visual studio 2015 update 3 and Xamarin.Forms.When I try to debug my iOS project I get an error immediately.
I always select debug - iphone simulator and set the iOS project to startup project.
Make sure you are connected to a Mac Device. When you're connected, the debug for iOS is automatically checked.
If you want to manually check the option, go to menu
Build -> Configuration Manager
and make sure the Build is check for iOS
If still doesn't work, I would suggest, update your visual studio or download the latest Visual Studio 2017.

Resources