Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
270 views
in Technique[技术] by (71.8m points)

ios - 如何使用Windows开发机为iPhone开发?(How can I develop for iPhone using a Windows development machine?)

Is there any way to tinker with the iPhone SDK on a Windows machine?

(有什么办法可以在Windows计算机上修补iPhone SDK?)

Are there plans for an iPhone SDK version for Windows?

(是否有针对Windows的iPhone SDK版本的计划?)

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上运行的VMWare服务器上运行Mac VM映像,尽管我不太确定这样做的合法性。)

  ask by community wiki translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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 :)

(当然可以在Windows机器上进行开发,实际上,我的第一个应用程序是在当时的旧Dell Precision上独家开发的:))

There are three routes;

(有三条路线;)

  1. Install OSx86 (aka iATKOS / Kalyway) on a second partition/disk and dual boot.

    (在第二个分区/磁盘上安装OSx86 (又名iATKOS / Kalyway)并进行双引导。)

  2. Run Mac OS X Server under VMWare (Mac OS X 10.7 (Lion) onwards, read the update below).

    (在VMWare下运行Mac OS X Server(从Mac OS X 10.7(Lion)开始,请阅读下面的更新)。)

  3. Use Delphi XE4 and the macincloud service.

    (使用Delphi XE4和macincloud服务。)

    This is a commercial toolset, but the component and lib support is growing.

    (这是一个商业工具集,但是对组件和库的支持正在增长。)

The first route requires modifying (or using a pre-modified) image of Leopard that can be installed on a regular PC.

(第一条路线要求修改(或使用预先修改的)可以安装在常规PC上的Leopard映像。)

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 - eg if you're running a Core 2 Duo on an Intel Motherboard, with an NVidia graphics card you are laughing.

(尽管您的成功/努力比率将取决于您的PC硬件与Mac硬件的匹配程度,例如,如果您要在配备NVidia的Intel主板上运行Core 2 Duo,这并不像您想的那样难。您在笑的图形卡。)

If you're running an AMD machine or something without SSE3 it gets a little more involved.

(如果您运行的是AMD机器或没有SSE3的机器,那么它会涉及到更多。)

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.

(如果您购买(或已经拥有)Leopard版本,则此区域为灰色区域,因为Leopard EULA声明您只能在“ Apple Labeled”计算机上运行它。)

As many point out if you stick an Apple sticker on your PC you're probably covered.

(许多人指出,如果您在PC上贴了Apple标签,您可能会被覆盖。)

The second option is 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工作站版本的EULA阻止了它在仿真下运行,因此,VMWare中对此不提供任何支持。)

Leopard server, however, CAN be run under emulation and can be used for desktop purposes.

(但是,Leopard服务器可以在仿真下运行,并且可以用于桌面目的。)

Leopard server and VMWare are expensive, however.

(但是,豹服务器和VMWare昂贵。)

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

(如果您对选项1)感兴趣,建议您从Insanelymac开始阅读OSx86部分。)

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.

(这对我来说是因为我喜欢修补这类东西,而且我是在iPhone早期的Beta测试版(即App Store推出前几个月)开始的。)

Alternatively, you could pick up a low-spec Mac Mini from eBay.

(或者,您可以从eBay购买低规格的Mac Mini。)

You don't need much horsepower to run the SDK and you can always sell it on later if you decide to stop development or buy a better Mac.

(您不需要太多的能力来运行SDK,并且如果您决定停止开发或购买更好的Mac,则可以在以后出售它。)

Update: You cannot create a Mac OS X Client virtual machine for OS X 10.6 and earlier.

(更新:您无法为OS X 10.6及更早版本创建Mac OS X客户端虚拟机。)

Apple does not allow these Client OSes to be virtualized.

(Apple不允许对这些客户端操作系统进行虚拟化。)

With Mac OS X 10.7 (Lion) onwards, Apple has changed its licensing agreement in regards to virtualization.

(从Mac OS X 10.7(Lion)开始,Apple更改了有关虚拟化的许可协议。)

Source: VMWare KnowledgeBase

(资料来源: VMWare知识库)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...