简体   繁体   English

适用于Linux的Apple iOS IDE?

[英]Apple iOS IDE for linux?

I am interested in getting to know whether there is an IDE to develop for Apple iOS? 我有兴趣了解是否有为Apple iOS开发的IDE? I am currently learning Objective-C, but I don't have a Macbook or something like that. 我目前正在学习Objective-C,但我没有Macbook或类似的东西。

So actually I am looking for an "all around" IDE, including: 所以实际上我正在寻找一个“全能”IDE,包括:

  • Objective-C compiler Objective-C编译器
  • Objective-C debugger Objective-C调试器
  • Possibilities to test developed apps (like an iPhone emulator) 测试开发的应用程序(如iPhone模拟器)的可能性

What else would I need to develop iPhone apps on Ubuntu (if that's possible)? 我还需要在Ubuntu上开发iPhone应用程序(如果可能的话)?

Thank you for any suggestions. 谢谢你的任何建议。

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. 我能想到在Linux上开发的唯一解决方案是使用GCC或Clang来编译Objective-C。 There are no Apple Frameworks or simulators, save GnuStep, and that isn't 100% compatible. 没有Apple框架或模拟器,保存GnuStep,并且不是100%兼容。

There are a few problems. 有一些问题。

  1. The iOS SDK libraries don't exist for Linux. Linux SDK不存在iOS SDK库。

  2. The simulator does not exist for Linux. Linux不存在模拟器。

  3. How do you plan to sign your app from Linux? 您打算如何从Linux签署您的应用程序?

You could technically use a VM, but that is against the Mac OS X EULA. 您可以在技术上使用VM,但这是针对Mac OS X EULA的。 Another sketchy option is to compile against GNUStep and test on a jailbroken device. 另一个粗略的选择是针对GNUStep进行编译并在越狱设备上进行测试。

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. 老实说,你最好的办法是打破银行并获得一台Mac(Mini或Air,现在已经停止使用MacBook了。那就是说,你可能会考虑在更大的屏幕上多花点钱。很难在11只上面编写代码。屏幕几英寸。)几个发展中的飞蛾可以回报你的初始投资。

Good luck! 祝好运!

虽然可能不会生成原生外观的应用程序,但有一些跨平台的多媒体工具堆栈,如Kivy项目 - 支持iOS的打包 - http://kivy.org/docs/guide/packaging-ios.html - 这项目确实使用Python作为编程语言,而不是客观C.

Take a look here for info on this. 看看这里的信息。 Basically, running a virtual machine with an OSX image is likely to be the best approach if you'd like to distribute your app through the Apple store. 基本上,如果您想通过Apple商店分发应用程序,运行带有OSX映像的虚拟机可能是最好的方法。

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

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