开发者

Developing on Mac vs. using virtual machine on windows based PC?

开发者 https://www.devze.com 2023-01-26 00:11 出处:网络
I am trying to set up a project to develop an iPad application for the company I develop for. I am relatively new to iOS development and just recently got a not too old, not too new either iMac. My pr

I am trying to set up a project to develop an iPad application for the company I develop for. I am relatively new to iOS development and just recently got a not too old, not too new either iMac. My problem is that it is not intel-based and therefore I can't install the latest SDK on it. Not to mention that the new Xcode requires intel-based processors too. I have been doing some digging and found the possibility of running OSX and its applications through a virtual machine. Everywhere I开发者_开发问答 have been searching for alternate options, this is the only other I can find. My question is: is it better or more recommended to develop iOS applications using a Mac vs using a virtual machine? If so, what makes it better to develop on one as opposed to the other option? Personally I am about to just tell my boss to get a couple of intel-based macs, but I need to back my suggestion up.


It will be a lot easier to just go ahead and get some Macs. You might be able to get some sorta Hackintosh thing sorta working on a VM, but the hours you and your colleagues spend getting all that stuff to work and supporting it will probably cost more than just buying a couple of Mac Minis or MacBooks.

Also, installing Mac OS X on a VM on non-Apple hardware is forbidden by Apple's licensing terms. Does your boss want you to violate copyright laws? If so, would your boss's bosses concur?


The developer tools run fairly close to the hardware so I don't think you would have good success running under VM. I don't know of anyone who has done so. Running MacOS on VM is more of a hacker's stunt than practical solution for the vast majority of cases. I would say that is doubly true for development.

More importantly, its not very cost effective. You can get a second hand Mac mini for $300 and plug it in to your existing monitor and keyboard. Given that even a small company pays out $50-$100+ an hour total cost for a programmer, half a day wasted futzing with a VM would eat any savings you might get.

It's better to just get the right gear and get work. I've been doing this a long time and hacked solutions always end up costing more time and money than they save. If you just don't have the money up front, you may not have the choice but if you have the money, it's well spent up front to avoid random stoppages and bugs down the road.


In some cases, http://virtualmacosx.com/ might be a solution. They offer a xcode virtual mac in the cloud. You access it by vnc, so it won't be very fast, unless you have a very low network latency to their servers.


You can get a Mac Mini on eBay for under $500. Snow Leopard is $29. There are almost no circumstances where it wouldn’t be worth spending the money to get a legitimate, legal Mac to develop on.


I'm pretty sure that you can't legally run a Mac OS on a non Mac machine.

0

精彩评论

暂无评论...
验证码 换一张
取 消