No IOS simulator or device appear on Visual Studio

On XCode and Mac's Xamarin I can run on simulator or device.

Answers

  • FredyWengerFredyWenger CHInsider ✭✭✭✭✭

    @RobertoFonseca:

    Just to be sure:
    The iOS-simulator is loaded on the MAC (not on your windows machine).
    If you want to debug to an iPhone / iPad the devices also has to be connected to the MAC.

    If this don't work, you - maybe - have a problem with your configuration (versions on PC don't match versions on MAC).

  • Yes, my device are connected on mac.
    And this isn't explain the simulators don't appear. When the version don't match the visual studio simply don't connect with build host. I think.. And I get a warning.

    I'm using parallels desktop. It could be some network config and the visual studio isn't get everything it need to work.
    I will check both options, version and network, and reply.

  • I noticed one more thing:
    When I click on Show iOS simulator and the simulator are closed I get "failed to show simulator on build server";
    But if the simulator is already open, when I click it goes to front of the screen.

  • @RobertoFonseca

    Yes, Before run your iOS application you need to run simulator on your mac.

  • ChrisColeTechChrisColeTech USMember ✭✭✭

    Just another unexplained bug..as usual with this "solution"

  • seanydaseanyda GBMember ✭✭✭✭✭

    Make sure you have Xamarin installed on Windows and it matches the Mac version.

  • AxelCharpentierAxelCharpentier FRMember ✭✭

    @softlion mind you language.

  • NMackayNMackay GBInsider, University mod

    @softlion

    You need to post this on the VisualStudio forum if your using the latest stable release or any 4.x release. Also note it does from time to time not connect so go to Tools-Options-Xamarin-iOS and double click on the build host, it should re-connect.

  • NMackayNMackay GBInsider, University mod

    @MatthewSnyder

    That doesn't work for me as the iOS build host times out intermittently. Only a restart of VS solves it. There's some stability fixes to improve this in the upcoming SR2 release, also in the Cycle 7 alpha release. They are addressing the issues I raised which is encouraging.

  • MatthewSnyderMatthewSnyder USMember ✭✭

    @NMackay

    I've been trying to use VS for Xamarin.iOS development for years and there are always "upcoming stability fixes" to the build host. :smile: Definite improvements over the early days. Back then any efficiency gains I realized by using VS over Xamarin Studio were lost and then some due to constant build host issues. Now, I can actually develop in VS with reasonably few issues. I can only imagine this will continue to improve with Xamarin being acquired by Microsoft.

    Out of curiosity, is your setup something like a Parallels or VMware Fusion on a Mac, or are you connect across a network to a dedicated Mac build machine?

  • NMackayNMackay GBInsider, University mod

    @MatthewSnyder

    No VM's, Win10 x64 talking to (sort of) a Mac Mini across a network. A Hotfix solved the timeout so it's definitely something they can fix, it just never made it into a cycle release but they have ensured it's been added now along with the fix for ad-hoc in house profiles in VS. I know most of the workarounds but it's still a pain, like you say, I think post MS acquisition things will improve in that area but it might take a little while for us to see the benefits on the product engineering front.

  • SercanDumansizSercanDumansiz TRMember

    Same problem for me too , I just realized that if I rebuilt iOS project it appers. Or I start Project While the Emulator is open it works. Dont forget build and start project while the Emulator is on.

  • Vijay.5883Vijay.5883 USMember ✭✭

    @MatthewSnyder
    Your Solution worked to Me. :-)

  • charlesaondocharlesaondo Member ✭✭

    @seanyda said:
    Make sure you have Xamarin installed on Windows and it matches the Mac version.

    This worked for me

Sign In or Register to comment.