user6269870
user6269870

Reputation:

how to simulate ios app in windows using xamarin visual studio 2015

I am trying to simulate an iOS app on my windows machine using visual studio 2015(Xamarin installed). My windows machine is connected to a mac agent. When I simulate the app in the windows machine the simulator opens in the mac. Can any one tell me how to simulate the app on my windows machine.

Upvotes: 0

Views: 1699

Answers (6)

zainengineer
zainengineer

Reputation: 13889

Remote iOS simulator is only available on enterprise

https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/

Remoted iOS Simulator requires a Visual Studio Enterprise license

Upvotes: 0

To fix this problem please follow these steps assuming your windows machine is connected to a mac agent:

  • Download and install the "Remoted iOS Simulator (for Windows)":

    https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/

  • Go to Tools -> Options -> Xamarin -> iOS Settings:

    Tick the checkbox "Remote Simulator to Windows"

  • Click in Build -> Configuration Manager:

    Find your iOS project in the list and make sure the Platform is "iPhoneSimulator"

  • In your solution explorer right click in your iOS project and go to "Properties":

    In the tab "iOS Build" find the section "Linker Options" and select the Linker behavior to "Link all assemblies" and Save

  • In your solution explorer right click in your iOS project again and click "Clean" and after that click "Rebuild"

  • Set the Visual Studio to run in Debug Mode and select "iPhone 5s iOS 9.3" click in option to launch the iPhone Simulator.

I hope it helps.

Upvotes: 0

Matt
Matt

Reputation: 4607

You can use the iOS remote simulator. To use this feature you must update Xamarin and turn on remote simulator in Tools->Options->Xamarin->iOS.

You still need a mac for this feature.

Upvotes: 1

Softlion
Softlion

Reputation: 12625

Look at these solutions to remotely see the mac window:

  • Apple Remote Desktop
  • TeamViewer !
  • Chrome Remote Desktop
  • VNC Client. Activate screen sharing:

enter image description here

Upvotes: 0

David Pilkington
David Pilkington

Reputation: 13618

You can use VNC to remote into the mac to show the simulator. That is what Xamarin dev's do at Evolve.

Unfortunately, that is your only option at the moment.

Upvotes: 0

Apurv
Apurv

Reputation: 17186

To simulate the iOS application, you must need MAC machine. Using Windows machine with Xamarin Studio, you can develop iOS application. But to run it on device or simulator, you need Mac machine.

Upvotes: 0

Related Questions