How to create a Mac host in visualstudio using xamarin

I installed xamarin on Windows 7 Home Basic. I need to connect the Mac host in visual studio, I get the ios settings for the build, but this is not the host automatically. In the Xamarin manuals, they reported Craigs-MacBook.local, but I cannot get the host on my laptop. I was just struggling. Can you explain to me what I can do next to host a Mac on a Windows PC to launch an iPhone.

Thanks in advance.

+4
source share
3 answers

You need to install Xamarin on your Mac, then you need to activate Xamarin Studio on both computers (Mac and Windows). For this you need:

  • Create a Xamarin account and set it up or link it with your Visual Studio (Windows) and Xamarin Studio (Mac) environments so that they can interact. This is Via Tools> Xamarin Account . There is no need to buy a license, as you can start with a trial version of Xamarin.

  • Create a test or any project on both IDEs to receive an invitation to activate Xamarin Studio and Visual Studio .

  • After you have activated both of your IDEs, you need to connect Visual Studio with iOS Xamarin using: Tools> Options> Xamarin> iOS Settings.

And that’s all.

You may not be able to install Host Mac Xamarin.IOs in Visual Studio because you did not activate your iOS Xamarin Studio on your Mac to do this, in Mac Xamarin Studio create a project from a template that uses network connections , and you will be prompted activate your Xamarin Studio. In Windows Visual Studio, you need to create any project , and you will be prompted to activate your Visual Studio.

In addition, your SDKs on both machines may not be synchronized , so you will have to download some updates on your Mac and Win in order to synchronize both the IDE and the SDK for them to work together.

You also need to install Xamarin and Visual Studio in this order :

  • Install Visual Studio on Windows first.
  • Secondly, Xamarin Studio on Mac and Windows.
  • Finally, a link to Mac and Win through Visual Studio.

It is also recommended that you have a version of Windows Pro , because you cannot use the Windows Phone emulator in the home (main) version of Windows 8, because you cannot install Hyper -V, which is necessary to run this emulator. In addition, you will need a version of Visual Studio Pro or higher to link your Xamarin with Visual Studio.

Hope this helps!

+8
source

You need to install Xamarin on the build host by following these steps.

Details for troubleshooting here

+1
source

I had to follow the instructions here: https://developer.xamarin.com/guides/ios/getting_started/installation/windows/troubleshooting/offline.pdf

I was mostly absent:

  • Open spotlight on mac
  • Enter "xamarin build host"
  • Run and display a connection prompt
  • I followed the on-screen instructions using a pin to bind my Windows machine.
0
source

All Articles