ios 是否可以使用 Hackintosh 开发 iPhone 应用程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/535403/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is it possible to develop iPhone apps with a Hackintosh?
提问by codelogic
Possible Duplicate:
iPhone Development on Hackintosh
可能的重复:
Hackintosh 上的 iPhone 开发
I really want to get started, but man are those Macs expensive...especially for a non-US like me.
我真的很想开始,但是那些 Mac 太贵了……尤其是对于像我这样的非美国人来说。
I'm thinking about trying to run OS X in VMWare. But would this prohibit me from doing iPhone development? I will gladly buy a copy of OS X to give Apple their due...
我正在考虑尝试在 VMWare 中运行 OS X。但这会禁止我进行 iPhone 开发吗?我很乐意购买 OS X 的副本来给苹果他们应得的...
Thanks, Makil
谢谢,马基尔
回答by codelogic
The answer is yes.
答案是肯定的。
To develop iPhone applications, you need the iPhone SDK, which in turn requires Mac OS X version 10.5 (Intel). If you can satisfy this requirement in your OS X installation, then you can build iPhone apps. Whether you can test them just as easily depends on USB support in your installation.
要开发 iPhone 应用程序,您需要iPhone SDK,而后者又需要 Mac OS X 10.5 版(英特尔)。如果您可以在 OS X 安装中满足此要求,那么您就可以构建 iPhone 应用程序。您是否可以轻松地测试它们取决于您安装中的 USB 支持。
The fact that the Mac Mini is $599 is irrelevant to the question and how inexpensive it is, is relative. What is inexpensive to one may not be to another (especially since the OP states that he is not in US, where it might be much more than $599).
Mac Mini 售价 599 美元这一事实与问题无关,它的价格有多便宜,这是相对的。对一个人来说便宜的可能对另一个人来说并不便宜(特别是因为 OP 声明他不在美国,那里的价格可能远远超过 599 美元)。
回答by Kartik Mistry
Yes, its possible. But, issue is that iPhone SDK gets frequent updates and requires updated version of Mac OS X - updating hackintosh is pain (you can do better development on MacMini instead of wasting time to upgrade) and you will never know when your hackintosh will be unbootable!
是的,这是可能的。但是,问题是 iPhone SDK 会频繁更新并且需要更新版本的 Mac OS X - 更新 hackintosh 很痛苦(您可以在 MacMini 上进行更好的开发而不是浪费时间升级)并且您永远不知道您的 hackintosh 何时无法启动!
USB, Audio are another issues I have seen in hackintosh.
USB、音频是我在 hackintosh 中看到的另一个问题。
回答by Coxy
It's definitely possible, and it's not even that hard if you're buying the parts with the intention of running OS X on them.
这绝对是可能的,如果您购买这些部件的目的是在它们上运行 OS X,那么这甚至不是那么难。
Most of the difficulties and incompatibilities people experience are due to attempting to try out OS X on hardware they already have. They may have an AMD system which needs a Voodoo kernel, they may have a Radeon 4xxx which will only work in VESA mode without hardware acceleration. Of course these things can be made to work, and it is getting easier all the time, but it's more effort and it's where the bulk of the problems come from.
人们遇到的大多数困难和不兼容性都是由于尝试在他们已有的硬件上试用 OS X。他们可能有一个需要 Voodoo 内核的 AMD 系统,他们可能有一个 Radeon 4xxx,它只能在没有硬件加速的 VESA 模式下工作。当然,这些东西可以发挥作用,而且它一直都在变得更容易,但它需要更多的努力,而且这也是大部分问题的来源。
Once you do get your Hybrid Mac working (as I affectionately prefer to call them) it still won't be as perfectly painless as the ideal (note: not actual!) Mac owning experience. But still, with a little common sense you get a lot more computer for a half or less of the price.
一旦你让你的混合 Mac 工作(我亲切地更喜欢称之为它们),它仍然不会像理想的(注意:不是实际的!)Mac 拥有体验那样完美。但是,通过一点常识,您可以以一半或更少的价格获得更多的计算机。
Edit: as for running OS X in a VM on a PC, it's really not very nice at all. It's a tremendous hassle to get it to boot at all, and even then it's not very usable as an environment, often without working sound/LAN/etc. You can obtain complete VMWare images of OS X which may not even work inside different virtualised environments!
编辑:至于在 PC 上的 VM 中运行 OS X,它真的不是很好。让它启动是一个巨大的麻烦,即使这样它作为环境也不是很可用,通常没有工作声音/局域网/等。您可以获得 OS X 的完整 VMWare 映像,这些映像甚至可能无法在不同的虚拟化环境中运行!
回答by Coxy
I know it will work, if you can get the damn thing to install and your able to get usb working.
我知道它会起作用,如果你能安装该死的东西并且你能够让 USB 工作。
I currently own a G4 mac mini and had a 2nd gen intel IMac (had to sell it to pay the bills). I paid for my iphone developer lic., bought a 2nd gen touch, booted my mini, downloaded the iphone sdk... Oh no, you need 10.5. Bought and installed 10.5... Oh no, you need an intel mac. Forced sdk install, apps build great for the simulator, but what is this, I can't sign my code. More hacking... Oh no, provisioning error. Connected the touch, unable to mount dev partition. I now left with no job, no money and no way to release my apps to try to make some money.
我目前拥有 G4 mac mini 和第二代英特尔 IMac(不得不卖掉它来支付账单)。我支付了我的 iphone 开发者许可证,购买了第二代触摸屏,启动了我的 mini,下载了 iphone sdk ......哦,不,你需要 10.5。购买并安装了 10.5... 哦不,你需要一个英特尔 mac。强制安装 sdk,应用程序非常适合模拟器,但这是什么,我无法签署我的代码。更多黑客攻击......哦,不,配置错误。连接touch,无法挂载dev分区。我现在没有工作,没有钱,也没有办法发布我的应用程序来赚钱。
Oh, yeah, I'm going to try to install hackintosh in vmware, but only because I'm flat broke. Also, I wouldn't buy a another mini knowning that my g4 mini cost $599 (back in the day) but once I was done making it usable, I spent over $1000 ($200 aftermarket 1gig ram upgrade, $99 keyboard/mouse, $150 monitor, etc). Of course it's cheaper for better hardware now, but the mini nickel and dimes you to death. Do yourself a favor and just get a macbook, that will be my next buy.
哦,是的,我将尝试在 vmware 中安装 hackintosh,但这只是因为我破产了。此外,我不会再买一个 mini,因为我知道我的 g4 mini 售价 599 美元(过去),但是一旦我完成使其可用,我花了超过 1000 美元(200 美元的售后市场 1gig ram 升级,99 美元的键盘/鼠标,150 美元的显示器, 等等)。当然,现在更好的硬件更便宜,但迷你镍币会让你死。帮自己一个忙,买一个 macbook,那将是我的下一次购买。
And the funny and/or worst part about all of this is, I don't even like OSX or the iphone/touch.
关于这一切的有趣和/或最糟糕的部分是,我什至不喜欢 OSX 或 iphone/touch。
回答by Tim Sullivan
Technically: yes. Legally: no. The OSX EULA doesn't permit it.
从技术上讲:是的。法律上:没有。OSX EULA 不允许。
Note that having the right tools for your job is important, and the unknowns of running OSX on non-Apple hardware could lead to problems down the road. The Mac Mini isn't that expensive at $599, assuming you've already got a keyboard, mouse and monitor.
请注意,为您的工作选择合适的工具很重要,在非 Apple 硬件上运行 OSX 的未知数可能会导致问题。假设您已经拥有键盘、鼠标和显示器,Mac Mini 的价格并不贵,只要 599 美元。
回答by OSx86
I was (with some effort) able to install OS X, snow leopard, as well as the dev tools onto my IBM X61 and have had no issues with it or developing IPhone apps on it. I have the OS fully functioning. Note: I bought a retail copy of Snow Leopard for my project.
我(通过一些努力)能够将 OS X、snow leopard 以及开发工具安装到我的 IBM X61 上,并且没有遇到任何问题或在其上开发 iPhone 应用程序。我的操作系统功能齐全。注意:我为我的项目购买了 Snow Leopard 的零售版。
Why? I had more time than money. If I had to choose again and I had the $1500 beans (+tax, + whatever) to buy a mac book pro I would have as it certainly wasn't 'simple'. But I didn't.
为什么?我有更多的时间而不是金钱。如果我不得不再次选择并且我有 1500 美元的豆子(+税,+其他)来购买 mac book pro,我会拥有,因为它肯定不是“简单”。但我没有。
But now that I have done it, I have an immensely cool IBM MacBook :) and am quite proud of the accomplishment. I also learned an awful lot in the process. Was it hell? Yes.. Was it worth it? Yes...
但是现在我已经做到了,我拥有了一台非常酷的 IBM MacBook :) 并且为这一成就感到非常自豪。在这个过程中,我也学到了很多。是地狱吗?是的..值得吗?是的...
Hope that helps!
希望有帮助!
回答by Jim OHalloran
I've tried, but I haven't successfully run OS/X in VMware. I do know someone who's successfully developed iPhone apps on a hackintosh, but getting your hackintosh set up is quite difficult.
我试过了,但我没有在 VMware 中成功运行 OS/X。我知道有人在 hackintosh 上成功开发了 iPhone 应用程序,但是设置 hackintosh 非常困难。
I'm in the same boat, I don't want to shell out ftheitroad a Mac until I know I'm comfortable with the toolchain, and I'd like to get a feel for iPhone development using my current hardware. Interested to hear of others experiences.
我在同一条船上,在我知道我对工具链感到满意之前,我不想为 Mac 掏钱,我想使用我当前的硬件体验 iPhone 开发。有兴趣听听其他人的经历。
回答by Jay
A Mac Miniis $599and comes with OS X ($129by itself). The specs on the Mac Mini aren't awe-inspiring but they're perfectly usable. I just wouldn't be able to justify saving a few hundred bucks (max) by buying a bargain basement PC and running it as a Hackintosh. You lose all ability to get support from Apple, you have no guarantees it won't break compatibility in the future, and you are highly unlikely to get the same relatively seamless experience of a real Mac.
一个Mac Mini的是$ 599,并配备了OS X($ 129本身)。Mac Mini 上的规格并不令人敬畏,但它们完全可用。我只是无法证明通过购买便宜的地下室 PC 并将其作为 Hackintosh 运行来节省几百美元(最多)是合理的。你失去了从 Apple 获得支持的所有能力,你不能保证它将来不会破坏兼容性,而且你极不可能获得与真正的 Mac 相同的相对无缝的体验。
Bottom line, whatever money you save, you'll probably end up paying for/regretting later. I own both a Mac Mini and a Macbook and I've had a better experience with both than with any PC I've bought or built in the past. I just wouldn't recommend trying to make an end run around this for the sake of a few hundred bucks. Heck, if you add up VMWare ($189) and Leopard ($129) and the cost of even a bargain PC, you're pretty close to a Mac Mini already, so I can't see this being worth it.
最重要的是,无论您省下多少钱,您最终都可能会为此付出代价/后悔。我同时拥有 Mac Mini 和 Macbook,而且我对两者的体验都比我过去购买或制造的任何 PC 都要好。我只是不建议为了几百美元而试图结束这个。哎呀,如果你把 VMWare(189 美元)和 Leopard(129 美元)加上便宜的 PC 的成本,你已经非常接近 Mac Mini,所以我认为这不值得。