在虚拟化Mac上开发iOS是否可行?如果是这样,什么是好的设置? [英] Is it feasible to develop for iOS on a virtualized Mac? If so, what is a good setup?

查看:122
本文介绍了在虚拟化Mac上开发iOS是否可行?如果是这样,什么是好的设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑加入一个即将开发iOS应用的团队。我没有Mac,所以我希望我可以在虚拟Mac上开发(我知道我可以买一些相对便宜的东西,比如Mac Mini。但我宁愿不必,因为那台机器不会有用在iOS开发之外的我)。



我的电脑有四核i7处理器(带硬件虚拟化),16-24 GB RAM。我双启动Windows 8(.1)和Ubuntu。我宁愿使用Ubuntu作为主机,因为我更喜欢它(特别是对于开发),并且因为我的Windows安装似乎已经有点干预了。



根据我的研究,两个虚拟化程序是Virtualbox和vmware。你认为哪一个最适合这个目的?还有其他好的选择吗?在vmware的情况下,免费的vmware软件是否足够用于此目的,还是我必须购买其中一个程序?我并不反对花一点钱。



我在Virtualbox,Mountain Lion,10.6(我认为)上安装了一个vm。我尝试安装xcode但是应用程序商店有些麻烦,因为我的操作系统版本似乎有点过时,所以我甚至没有进入测试开发的hello world阶段,更不用说测试它如何支持iOS了开发。



我已经搜索过这个主题了。在虚拟化Mac上开发的缺乏具体建议令人沮丧。特别是,StackOverflow对类似问题的回答涉及更多的手指摇摆而不是违反使用条款,而不是具体的逐步建议。所以,是的,我知道从苹果的角度来看,这是禁忌。如果这有任何不同,我将不必从我的虚拟化Mac发布应用程序,因为该团队中至少有一个人拥有Mac。





另一个问题:iPhone仿真效果如何?我没有iPhone。该团队希望获得一台iPhone,以便至少有一个人能够正确测试该应用程序,但我想我仍然需要能够自己测试应用程序,而不需要iPhone。

I am considering joining a team that is going to be developing an iOS app. I don't have a Mac, so I hope that I can develop on a virtualized Mac (I know I can buy something relatively cheap like a Mac Mini. But I'd rather not have to, since that machine wouldn't be useful to me outside of iOS development).

My computer has quad i7 processors (with hardware virtualization), 16-24 GB RAM. I dual boot Windows 8(.1) and Ubuntu. I'd rather use Ubuntu as a host because I like it better (especially for development), and because my Windows installation seems to have gone a bit hayware.

From what I've researched, two virtualization programs are Virtualbox and vmware. Which of these do you think is best for this purpose? Are there any other good alternatives? In vmware's case, is the free vmware software good enough for this purpose, or do I have to buy one of the programs? I am not against spending a little bit of money.

I've installed a vm on Virtualbox, Mountain Lion, 10.6 (I think). I tried installing xcode but there was some hassle with the app store because my OS version seems a bit outdated, so I haven't even come to the 'hello world' stage of testing the development, let alone testing how it holds up for iOS development.

I have googled this topic a bit. The lack of concrete advice w.r.t development on virtualized Mac's has been discouraging. In particular, StackOverflow answers to similar questions have involved more finger-wagging over violating the terms of use than concrete, step-by-step suggestions. So yeah, I'm aware that this is a no-no from Apple's standpoint. I won't have to publish the app from my virtualized Mac if that makes any difference, since there is at least one person on this team who owns a Mac.


Another question: how well does iPhone emulation work? I don't have an iPhone. The team hopes to get an iPhone so that at least one person gets to properly test the app, but I imagine that I would still need to be able to test the app myself, without an iPhone.

推荐答案

据我所知,Apple软件许可证不允许在不是Apple品牌的计算机上使用Mac OS X:

http://images.apple.com/legal/sla/docs/macosx106.pdf [ ^ ]。



合法性是一个有争议的问题。请参阅: http://en.wikipedia.org/wiki/OSx86 [ ^ ]。



参见: http://www.hackintosh.com [ ^ ]。



此信息可能对您有用,也可能没有用,但请注意:任何可能的法律后果仅限于您。



-SA
As far as I know, The Apple software license does not allow Mac OS X to be used on a computer that is not "Apple-branded":
http://images.apple.com/legal/sla/docs/macosx106.pdf[^].

The legality of this is a matter of dispute. Please see: http://en.wikipedia.org/wiki/OSx86[^].

See also: http://www.hackintosh.com[^].

This information may or may not be useful for you, but please: any possible legal consequences are on you only.

—SA


这篇关于在虚拟化Mac上开发iOS是否可行?如果是这样,什么是好的设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆