xcode unix下为iphone开发

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1372372/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 18:47:37  来源:igfitidea点击:

Developing for iphone under unix

iphonexcodeunixubuntu

提问by Martin

My question is very simple:

我的问题很简单:

  • Is there any solution to install xCode, or equivalent, under unix OS, like ubuntu ?
  • 是否有任何解决方案可以在 unix OS 下安装 xCode 或等效版本,例如 ubuntu ?

Indeed, i don't want to buy an expensive macbook to develop my private iPhone applications.

事实上,我不想购买昂贵的 macbook 来开发我的私人 iPhone 应用程序。

回答by castle1971

The iPhone SDK requires Mac OS, and you need to install the SDK even if you plan to develop applications with, say, MonoTouchor Corona.

iPhone SDK 需要 Mac OS,即使您计划使用MonoTouchCorona开发应用程序,也需要安装 SDK 。

I don't know if Mac OS can be run as a virtual machine inside Linux. Anyway, you may consider buying a Mac Mini. It is not very expensive and powerful enough for software development.

不知道Mac OS 能不能作为Linux 里面的虚拟机运行。无论如何,您可以考虑购买 Mac Mini。对于软件开发来说,它不是很昂贵,也不够强大。

回答by Adrian Grigore

The OSX86project might solve your problem. It's not as convenient as buying a cheap Mac, but you can install it on a regular PC and it seems there are ways to install XCode on it.

OSX86项目可能会解决你的问题。它不像买便宜的Mac那么方便,但是你可以在普通PC上安装它,似乎有办法在上面安装XCode。

If you end up buying a Mac, be sure to look at the specs for IPhone development first. If I remember correctly, you need a mac based on an x86 core (such as the Mac Mini) to develop IPhone software.

如果您最终购买了 Mac,请务必先查看 iPhone 开发的规格。如果我没记错的话,你需要一个基于 x86 内核的 mac(比如 Mac Mini)来开发 iPhone 软件。

回答by Christoph Schiessl

xCode without Mac OS is definitely not possible. The real question here is, wether it's possible to install the complete Mac operating system in a virtual environment or not.

没有 Mac OS 的 xCode 绝对是不可能的。这里真正的问题是,是否可以在虚拟环境中安装完整的 Mac 操作系统。

回答by Martin

As far as I know iPhone development under unix is only possible if you jailbreak your iPhone. Which I would not recommend. You could try to buy a used Intel mac mini to develop for the iPhone.

据我所知,只有在越狱 iPhone 时,才能在 unix 下开发 iPhone。我不推荐。你可以尝试购买一个二手的 Intel mac mini 来为 iPhone 开发。

回答by Martin

Last Saturday I tested a very nice soft called... VMware !

上周六我测试了一个非常好的软件,叫做...VMware!

So is it possible to install mac OSX leopard on this kind of virtual machine ?

那么有可能在这种虚拟机上安装 mac OSX leopard 吗?

回答by VVS

Martin,

马丁,

I am doing some apps development for an iPhone and I have a Windows 7. You can install VMWare and install the Mac OS 10.6 through this and load xCode from Mac. The key is in finding the correct place to download VMWare and Mac OS.

我正在为 iPhone 做一些应用程序开发,我有一个 Windows 7。你可以安装 VMWare 并通过它安装 Mac OS 10.6 并从 Mac 加载 xCode。关键在于找到下载 VMWare 和 Mac OS 的正确位置。

Good Luck.

祝你好运。