简体   繁体   English

我可以使用Ubuntu创建Apple iPod / iPhone / iPad应用程序吗?

[英]Can I use Ubuntu to create a Apple iPod/iPhone/iPad app?

I was wondering if I could make some money by creating an iDevice app and posting it on the Rock your Phone Store. 我想知道是否可以通过创建iDevice应用并将其发布到Rock your Phone Store上来赚钱。 Which language should I use and are there exceptions to it. 我应该使用哪种语言,并且有例外。

I tried that a few weeks back. 几周前,我尝试过。 There's a project called GnuStep that includes a runtime library for Objective C. However, I was a bit disappointed to find that there are big differences to the Cocoa library provided by (and only on) Apple. 有一个名为GnuStep的项目,其中包含用于Objective C的运行时库。但是,令我有些失望的是,发现(仅在Apple上)Apple提供的Cocoa库有很大的不同。 A lot of the classes and methods I found in Apple's Cocoa documentation were not supported, so programming became a bit tedious. 我在Apple Cocoa文档中发现的许多类和方法均不受支持,因此编程变得有些乏味。 There are even differences in the dialect of Objective-C that's available. 可用的Objective-C语言之间甚至存在差异。 I ended up developing on my MacBook using XCode. 我最终使用XCode在MacBook上进行开发。

If you're willing to put up with the limits and inconvenience of not developing in the "genuine" environment, it is possible. 如果您愿意忍受在“真正”的环境中不进行开发的限制和不便,则可能。 I think I heard that some people do it. 我想我听说有人这样做。

You should be able to get a used MacMini for something like $200... that would allow you do iSomething development in a "real" native Mac environment. 您应该能够以200美元左右的价格获得使用过的MacMini ...这将使您能够在“真实的”本地Mac环境中进行iSomething开发。 The version of XCode required to produce apps for iMac and iPad requires OS X.6 . 生产用于iMac和iPad的应用程序所需的XCode版本需要OS X.6。

Alternatively, I hear there are projects that allow one to run Mac OS X on non-Mac hardware. 另外,我听说有些项目允许在非Mac硬件上运行Mac OSX。 However, this is illegal because it's in breach of your (or anyone's) contract with Apple. 但是,这是非法的,因为它违反了您(或任何人)与Apple签订的合同。 Creating Apple programs in an illegally set-up environment is probably not a promising start to a flourishing business relationship with the only distributor for your software. 与您唯一的软件发行商之间,在蓬勃发展的业务关系中创建Apple程序可能不是一个蓬勃发展的业务合作的前途。

Yes! 是! What you need to do is get a copy of OS X downloaded (legally if at all possible), and search google for a guide, this search will work: This One Then you can create the VM on any OS, even windows. 您需要做的是下载一份OS X副本(如果有可能,请合法获取),然后在Google上搜索指南,此搜索将起作用: 该版本然后您可以在任何OS甚至Windows上创建VM。 (Before anyone says that it is not possible, I am running it on my windows machine as we speak for work). (在有人说这是不可能的之前,在我们为工作发言时,我正在Windows机器上运行它)。 Once you have done this, you can log onto the Mac App Store and download Xcode like anyone else. 完成此操作后,您可以登录Mac App Store并像其他任何人一样下载Xcode。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM