Mac OS Virtual Machines

Markusgreuel.5980Markusgreuel.5980 USMember, University
edited April 2016 in General

Hi,

Can anybody give some advise how to run the Xamarin.IOS Image on a Mac Mini server? I set it up with virtual box, but is really unusably slow. For VMware on Windows this is usually caused by missing Tools on the guest Os, but apparently there are none for Mac Os guests in virtual box. Am I missing some vital settings in virtual box or do I need another virtualisation software? I saw some trainers using VMs on Mac Os, so I guess there is a way to make it work properly.

Thanks in advance

Posts

  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai

    If I am understanding correctly, you are trying to run a Mac OS X VM hosted on a Windows machine. This is not supported by Xamarin as it is in violation of Apple's licensing terms for OS X, and more importantly because it often causes strange and hard to track issues.

    I am guessing that our trainers were hosting a Windows VM on a Mac, not vice verse.

    All the best,

    Jon

  • Markusgreuel.5980Markusgreuel.5980 USMember, University

    No, I'm trying to run a Mac Os VM (the one provided by Xamarin) on a Mac Mini Server.

  • ITNolesITNoles USMember

    Are you are running to run iOS Simulator? Only iOS Simulator can run Xamarin.IOS app in Mac OS X.

  • DaveHuntDaveHunt USMember ✭✭✭✭✭
    edited June 2014

    There is no Mac OS VM provided by Xamarin. If you are trying to run an iOS image, you run that in the iOS Simulator which runs directly in OS X. There is no need for any Virtual Box, VMWare, or any other 3rd-party virtualization software.

  • Markusgreuel.5980Markusgreuel.5980 USMember, University

    No, I actually mean a Mac Os Virtual Machine on a Mac Os Host, it is provided as part of the setup instructions for university: https://university.xamarin.com/resources/setup-requirements

    But in the end I don't care about this specific VM, I just need to run any 3 VMs on a Mac Mini server to have 3 Mac Os Build Agents (We usually only have Windows machines).

  • chirschirs NZMember

    Does anybody know a short cut or something to make it easy to use Windows on my Mac?

  • DaveHuntDaveHunt USMember ✭✭✭✭✭
    edited June 2014

    @chirs,

    What do you mean by shortcut or easy? You can very easily use Windows on your Mac with Parallels Desktop or VMware.

  • PhilRyanPhilRyan AUMember ✭✭

    @chirs, Oracle's FREE VirtualBox is a way to run ANY other x86-based OS on your Mac.

    Any flavour of Linux, any flavour of Windows.

  • PhilRyanPhilRyan AUMember ✭✭

    Also, both Parallels and VMware allow one to create Mac OS VMs.

    And for the crazy ones out there, you can spend a lifetime trying to get a Hackintosh working, but it just isn't worth the trouble compared with paying $500 for a 2nd hand Mac.

  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai

    Note: Apparently Parallels is having an issue installing Mavericks VM's.

    http://forums.macrumors.com/showthread.php?t=1599268

    "The company notes that users cannot install Mavericks into a clean virtual machine, but they can upgrade an already existing OS X virtual machine to Mavericks with only a few minor changes."

  • AnandDubeyAnandDubey USMember

    Hi,

    Can anybody give some advise how i connect Xamarin.iOS Build Host to my visual studio(window). I set up Mac on Window using VMware,But not able to pair my visual studio to iOS build host.
    please help me to out this.

  • MihaMarkicMihaMarkic SI ✭✭✭✭

    Stupid question, but did you run the host on Mac before pairing?
    What is the problem though? VS doesn't find the host? It finds it but errors out connecting?

  • AnandDubeyAnandDubey USMember

    Hi,

    Yes VS find the host and it's asking for PIN, when i enter PIN what i got form mac build host VS throws an error.
    The PIN you entered was invalid.
    Please ensure you have entered the correct PIN.
    You may have to close this dialog and retry from Visual Studio.

  • MihaMarkicMihaMarkic SI ✭✭✭✭

    Is it possible that it is actually a different pin (different type of keyboards and that)?

  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai

    @AnandDubey

    If I am understanding correctly, you installed a Mac VM on a Windows host? If so, this is an unsupported scenario. Due to licensing restrictions by Apple, Mac OS X can only be run on real Mac hardware. As such we do not support such a scenario as I believe you are describing. But forgive me if I have misunderstood.

  • AlienBloodAlienBlood USMember

    so let me get this right? using a VM at my school. the computer is a MAC but it has windows 7 on it okay(with a virtual machine(using mac os) can i connect my android crossplatform app up through the xamarin MAC Agent on my regular windows laptop at my home. so from home to the VM at school? Is that possible?

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    The MAC build host and your development box have to be on the same network.

  • If you plan to take any iOS courses in Xamarin University, then you will also need an Apple Computer running Mac OS X with the Xamarin developer tools and XCode installed.

    This is both a legal and technical requirement. Apple requires that iOS Developers do their builds on a Mac, and Xamarin uses the Xcode build chain to create native iOS packages. Xamarin supports a network build host to allow Visual Studio on Windows to build iOS applications through the use of a networked Mac.

  • clamumclamum USMember

    Wow, so you cannot run the Mac OS in a virtual machine, on a Windows box, for developing iOS apps (via Xamarin.Forms)? You actually have to shell out several hundreds of dollars to buy a physical Mac machine to do the development? No wonder I've stuck with PCs (and Android for mobile phones) my whole life.

  • MikeCodesDotNetMikeCodesDotNet GBXamarin Team Xamurai

    @AdamT, This is a limitation from Apple rather than something Xamarin or Microsoft have specified. Most developers will buy a Mac Mini which isn't hugely expensive and use it as their build host. You don't need to buy a Mac Pro or break the bank with your Mac.

  • clamumclamum USMember

    @MikeCodesDotNet said:
    @AdamT, This is a limitation from Apple rather than something Xamarin or Microsoft have specified. Most developers will buy a Mac Mini which isn't hugely expensive and use it as their build host. You don't need to buy a Mac Pro or break the bank with your Mac.

    I understood it was an Apple limitation. It looks like I can pick up a Mac Book Pro for $2-300 which I guess isn't too bad.

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    @AdamT

    I wouldn't get a laptop to use as a build host. A Mac Mini is $499 and will do the job just fine.

  • niranjanshirkeniranjanshirke USMember

    can i put Mac machine on server and use that from my windows laptop with mac agent?

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    What do you mean by "put Mac machine on server"?

  • clamumclamum USMember

    @DaveHunt said:
    @AdamT

    I wouldn't get a laptop to use as a build host. A Mac Mini is $499 and will do the job just fine.

    The $200 MacBook I picked up on eBay is working just fine (except for the fact it's a Mac).

  • SatishBandreSatishBandre USMember

    We can connect mac os installed on vm ware from visual studio install on windows machine, as we have to make proper network bridge between mac os and windows machine and also its require's up to date softwares on both the operating system like xcode, xamarin.....

  • Has anyone been able to run a VM for developing Mac code on a windows machine with Xamarin? If I was going to buy a used Mac what Mac? OS version should I look at getting for building the code?

  • @Markusgreuel.5980 said:
    Hi,

    Can anybody give some advise how to run the Xamarin.IOS Image on a Mac Mini server? I set it up with virtual box, but is really unusably slow. For VMware on Windows this is usually caused by missing Tools on the guest Os, but apparently there are none for Mac Os guests in virtual box. Am I missing some vital settings in virtual box or do I need another virtualisation software? I saw some trainers using VMs on Mac Os, so I guess there is a way to make it work properly.

    Thanks in advance

    hi , can you please give me the Names of those Trainers...

  • NajimNajim Member

    @SatishBandre said:
    We can connect mac os installed on vm ware from visual studio install on windows machine, as we have to make proper network bridge between mac os and windows machine and also its require's up to date softwares on both the operating system like xcode, xamarin.....

    pls share staps to install the vm & mac os

Sign In or Register to comment.