ios Windows下iOS开发的替代方案
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4533847/
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
Alternatives For iOS Development Under Windows
提问by Nathan Campos
Possible Duplicate:
How can I develop for iPhone using a Windows development machine?
iPhone development on Windows
I just got my new iPad and now I have two iOS devices, an iPod and an iPad. So I realized that iOS is a great OS to develop some stuff, but the problem is that I'm under Windows and I don't have any plans to buy a Mac. Anyway what I want isn't the port of the SDK for Windows, so I can develop in Objective-C. But what I want is to know all(maybe) the alternatives that I have to develop for the iPad(that I'm a lot more interested right now) and the other iOS devices.
我刚买了我的新 iPad,现在我有两个 iOS 设备,一个 iPod 和一个 iPad。所以我意识到 iOS 是一个很好的操作系统来开发一些东西,但问题是我在 Windows 下,我没有任何购买 Mac 的计划。无论如何,我想要的不是 Windows SDK 的端口,所以我可以在 Objective-C 中进行开发。但我想要的是知道所有(也许)我必须为 iPad(我现在更感兴趣)和其他 iOS 设备开发的替代方案。
PS: I'm interested at Application development, not game development
PS:我对应用程序开发感兴趣,而不是游戏开发
采纳答案by Juho Veps?l?inen
You might find following solutions handy. I have tried to comment those I am more familiar with:
您可能会发现以下解决方案很方便。我试图评论那些我更熟悉的人:
- PhoneGap
- Sencha Touch- Nice JS framework. Check out their demos.
- Rhomobile
- Appcelerator Titanium
- jQuery Mobile- Version of jQueryoptimized for mobile devices.
- jQTouch- jQuery plugin for mobile development
- CrossMobs- Sdk for iOS and android development (no mac needed).
- Nomad- Visual Studio extension for cloud PhoneGap builds (no mac needed).
- Delphi XE4- Delphi XE 4 (no mac needed, you can use macincloud)
- 电话鸿沟
- Sencha Touch- 不错的 JS 框架。检查他们的演示。
- 罗莫比尔
- Appcelerator Titanium
- jQuery Mobile-针对移动设备优化的jQuery版本。
- jQTouch- 用于移动开发的 jQuery 插件
- CrossMobs- 适用于 iOS 和 android 开发的 Sdk(不需要 mac)。
- Nomad- 用于云 PhoneGap 构建的 Visual Studio 扩展(不需要 mac)。
- Delphi XE4- Delphi XE 4(不需要mac,可以使用macincloud)
Hopefully you'll find an alternative fitting your purposes. It really depends on what you already know. For instance if you are already familiar with Ext JS using Sencha Touch seems like a no-brainer to me.
希望您能找到适合您目的的替代方案。这真的取决于你已经知道什么。例如,如果您已经熟悉使用 Sencha Touch 的 Ext JS,对我来说似乎很容易。
To get an app to App Store it looks like the only solution (at least AFAIK) is to use PhoneGap for packaging your JS app. You will need XCode (mac) for this. Perhaps it's possible to use a virtualized version of OS X for this as well though I cannot guarantee this will work.
要让应用程序进入 App Store,看起来唯一的解决方案(至少 AFAIK)是使用 PhoneGap 来打包您的 JS 应用程序。为此,您将需要 XCode (mac)。也许也可以为此使用 OS X 的虚拟化版本,但我不能保证这会起作用。
回答by Yuji
You said you want all the alternatives, so let me add:
你说你想要所有的选择,所以让我补充一下:
I understand you don't have any plan to buy a mac, but change your mind. Buy a cheapest mac.
我知道您没有任何购买 Mac 的计划,但请改变主意。买最便宜的mac。
Come on, you invested already on an iPad and an iPod. Buying a Mac mini shouldn't be so mentally difficult for you.
来吧,你已经投资了 iPad 和 iPod。购买 Mac mini 对您来说不应该是精神上的困难。
edit:
编辑:
@Nathan: why do you hate OS X while you love iOS? As hotpaw2 says, they are basically the same. I believe the kernels are compiled from the same source. Both have a set of basic pseudo-object-oriented C functions for strings and array manipulation, called Core Foundation. The GUI part is done by libraries called AppKit / UIKit, which are basically the same.
@Nathan:为什么喜欢 iOS 的同时讨厌 OS X?正如hotpaw2所说,它们基本相同。我相信内核是从同一来源编译的。两者都有的字符串和数组操作的一组基本的面向伪对象-C的功能,所谓的核心基础。GUI 部分由名为 AppKit / UIKit 的库完成,它们基本相同。
In fact, OS X, even in Snow Leopard, has a few remnant of OS 9, while iOS is almost purely derived from NeXTStep.
On OS X Gestalt
is alive and well (even after deprecation of most of Carbon), but there's no such thing in iOS! So, if you love OS 9, you should like OS X more than iOS.
事实上,即使在雪豹中,OS X 也有一些 OS 9 的残余,而 iOS 几乎完全是从 NeXTStep 派生出来的。在 OS X 上运行Gestalt
良好(即使在弃用大部分 Carbon 之后),但在 iOS 中没有这样的东西!所以,如果你喜欢 OS 9,你应该比 iOS 更喜欢 OS X。
I know love and hate are not logical, but you're not at all logical here :)
我知道爱和恨是不合逻辑的,但你在这里完全不合逻辑:)
回答by Ohad R
Another way: u can get an emulator of MAC for PC, and develop on it. I'm searching as well. I heard the PearPC is very good emulator.
另一种方法:您可以获得用于PC的MAC模拟器,并在其上进行开发。我也在找。我听说 PearPC 是非常好的模拟器。
回答by hotpaw2
If you want to develop iOS apps for the latest iOS libraries, and not fight with foreign tools and unsupported app installation processes, get a cheap Mac. The OS is nearly the same between Mac OS X and iOS, which is why the development tools work best on a Mac.
如果您想为最新的 iOS 库开发 iOS 应用程序,而不是与外国工具和不受支持的应用程序安装过程作斗争,请购买便宜的 Mac。Mac OS X 和 iOS 的操作系统几乎相同,这就是为什么开发工具在 Mac 上效果最好的原因。