问题描述
我有兴趣了解是否有针对 Apple iOS 开发的 IDE?我目前正在学习 Objective-C,但我没有 Macbook 或类似的东西.
I am interested in getting to know whether there is an IDE to develop for Apple iOS? I am currently learning Objective-C, but I don't have a Macbook or something like that.
所以实际上我正在寻找一个全方位"的 IDE,包括:
So actually I am looking for an "all around" IDE, including:
- Objective-C 编译器
- Objective-C 调试器
- 可以测试已开发的应用(如 iPhone 模拟器)
在 Ubuntu 上开发 iPhone 应用程序还需要什么(如果可能的话)?
What else would I need to develop iPhone apps on Ubuntu (if that's possible)?
感谢您的任何建议.
推荐答案
你所要求的几乎是不可能的.我能想到的在 Linux 上开发的唯一解决方案是使用 GCC 或 Clang 来编译 Objective-C.没有 Apple 框架或模拟器,除了 GnuStep,这不是 100% 兼容的.
What you are asking for is neigh impossible. The only solution I could think of to develop on Linux would be to use GCC or Clang to compile Objective-C. There are no Apple Frameworks or simulators, save GnuStep, and that isn't 100% compatible.
有几个问题.
不存在适用于 Linux 的 iOS SDK 库.
The iOS SDK libraries don't exist for Linux.
没有适用于 Linux 的模拟器.
The simulator does not exist for Linux.
您打算如何从 Linux 为您的应用签名?
How do you plan to sign your app from Linux?
从技术上讲,您可以使用虚拟机,但这违反了 Mac OS X EULA.另一个粗略的选择是针对 GNUStep 进行编译并在越狱设备上进行测试.
You could technically use a VM, but that is against the Mac OS X EULA. Another sketchy option is to compile against GNUStep and test on a jailbroken device.
老实说,你最好的办法是破财买一台 Mac(Mini 或 Air,因为 MacBook 已经停产了.也就是说,你可能会考虑在更大的屏幕上多花点钱.编写代码真的很难仅在 11 英寸的屏幕上.)花一些时间开发可能会收回您的初始投资.
Honestly, your best bet is to break the bank and get a Mac (Mini or Air, now that the MacBook is discontinued. That said, you might consider spending a bit more on a larger screen. It's really hard to write code on just 11 inches of screen.) A few moths of developing may make back your initial investment.
祝你好运!
这篇关于适用于 Linux 的 Apple iOS IDE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!