如何使用Windows开发机器为iPhone开发? [英] How can I develop for iPhone using a Windows development machine?

查看:111
本文介绍了如何使用Windows开发机器为iPhone开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在Windows机器上修补iPhone SDK?是否有针对Windows的iPhone SDK版本的计划?

Is there any way to tinker with the iPhone SDK on a Windows machine? Are there plans for an iPhone SDK version for Windows?

我能想到的另一种方法是在 VMWare <上运行Mac VM映像/ strong>服务器在Windows上运行,虽然我不太确定这是多么合法。

The only other way I can think of doing this is to run a Mac VM image on a VMWare server running on Windows, although I'm not too sure how legal this is.

推荐答案

当然可以开发在Windows机器上,事实上我的第一个应用程序是在我当时使用的旧Dell Precision上开发的:)

It's certainly possible to develop on a Windows machine, in fact my first application was exclusively developed on the old Dell Precision I had at the time :)

有三条路线;


  1. 安装 OSx86 (又名iATKOS / Kalyway)在第二个分区/磁盘和双启动。

  2. 在VMWare下运行Mac OS X Server(Mac OS X 10.7(Lion)以后,阅读下面的更新)。

  3. 使用Delphi XE4和macincloud服务。这是一个商业工具集,但组件和lib支持正在增长。

  1. Install OSx86 (aka iATKOS / Kalyway) on a second partition/disk and dual boot.
  2. Run Mac OS X Server under VMWare (Mac OS X 10.7 (Lion) onwards, read the update below).
  3. Use Delphi XE4 and the macincloud service. This is a commercial tool set, but the component and lib support is growing.

第一条路线需要修改(或使用预先可以安装在普通PC上的Leopard图像。这并不像你想象的那么难,虽然你的成功/努力比将取决于你的PC中的硬件与Mac硬件中的硬件有多接近 - 例如如果您在英特尔主板上运行Core 2 Duo,使用NVidia显卡就会笑。如果您正在运行AMD机器或没有SSE3的东西,它会更多地参与其中。

The first route requires modifying (or using a pre-modified) image of Leopard that can be installed on a regular PC. This is not as hard as you would think, although your success/effort ratio will depend upon how closely the hardware in your PC matches that in Mac hardware - e.g. if you're running a Core 2 Duo on an Intel Motherboard, with a NVidia graphics card you are laughing. If you're running an AMD machine or something without SSE3 it gets a little more involved.

如果您购买(或已经拥有)Leopard版本,那么这是一个自Leopard EULA声明您只能在Apple Labeled机器上运行它时的灰色区域。正如许多人指出的那样,如果你在你的电脑上粘贴一个Apple贴纸,你可能会被覆盖。

If you purchase (or already own) a version of Leopard then this is a gray area since the Leopard EULA states you may only run it on an "Apple Labeled" machine. As many point out if you stick an Apple sticker on your PC you're probably covered.

第二种选择是成本更高。工作站版Leopard的EULA可以防止它在仿真下运行,因此VMWare不支持此操作。但是,Leopard服务器可以在仿真下运行,可以用于桌面目的。但是,Leopard服务器和VMWare价格昂贵。

The second option is the more costly. The EULA for the workstation version of Leopard prevents it from being run under emulation and as a result there's no support in VMWare for this. Leopard server however CAN be run under emulation and can be used for desktop purposes. Leopard server and VMWare are expensive however.

如果你对选项1感兴趣,我会建议从 Insanelymac 并阅读OSx86部分。

If you're interested in option 1) I would suggest starting at Insanelymac and reading the OSx86 sections.

我认为你应该考虑一下你投资的时间是否值得你省钱。这对我来说是因为我喜欢修补这类东西而且我在早期的iPhone测试版中开始,在他们的App Store可用之前几个月。

I do think you should consider whether the time you will invest is going to be worth the money you will save though. It was for me because I enjoy tinkering with this type of stuff and I started during the early iPhone betas, months before their App Store became available.

或者你可以拾取一个来自eBay的低规格Mac Mini。如果您决定停止开发或购买更好的Mac,您可以在以后出售它,并且您可以随时将它卖掉。

Alternatively you could pickup a low-spec Mac Mini from eBay. You don't need much horse power to run the SDK and you can always sell it on later if you decide to stop development or buy a better Mac.

更新:你无法为OS X 10.6及更早版本创建Mac OS X Client虚拟机。 Apple不允许将这些客户端操作系统虚拟化。随着Mac OS X 10.7(Lion)的推出,Apple已经改变了有关虚拟化的许可协议。来源: VMWare KnowledgeBase

Update: You cannot create a Mac OS X Client virtual machine for OS X 10.6 and earlier. Apple does not allow these Client OSes to be virtualized. With Mac OS X 10.7 (Lion) onwards, Apple has changed their licensing agreement in regards to virtualization. Source: VMWare KnowledgeBase

这篇关于如何使用Windows开发机器为iPhone开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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