适用于 Linux 的 Apple iOS IDE?

发布于 2024-10-17 11:54:16 字数 277 浏览 1 评论 0原文

我有兴趣了解是否有针对 Apple iOS 开发的 IDE?我目前正在学习 Objective-C,但我没有 Macbook 之类的东西。

所以实际上我正在寻找一个“全能”IDE,包括:

  • Objective-C 编译器
  • Objective-C 调试器
  • 测试开发的应用程序的可能性(如 iPhone 模拟器)

我还需要什么才能在 Ubuntu 上开发 iPhone 应用程序(如果可能的话) ?

感谢您的任何建议。

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.

So actually I am looking for an "all around" IDE, including:

  • Objective-C compiler
  • Objective-C debugger
  • Possibilities to test developed apps (like an iPhone emulator)

What else would I need to develop iPhone apps on Ubuntu (if that's possible)?

Thank you for any suggestions.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

不顾 2024-10-24 11:54:16

你所要求的几乎是不可能的。我能想到的在 Linux 上开发的唯一解决方案是使用 GCC 或 Clang 来编译 Objective-C。除了 GnuStep 之外,没有 Apple 框架或模拟器,而且它们也不是 100% 兼容。

有一些问题。

  1. Linux 上不存在 iOS SDK 库。

  2. Linux 不存在模拟器。

  3. 您打算如何从 Linux 签署您的应用程序?

从技术上讲,您可以使用虚拟机,但这违反了 Mac OS X EULA。另一个粗略的选择是针对 GNUStep 进行编译并在越狱设备上进行测试。

老实说,你最好的选择是花很多钱买一台 Mac(Mini 或 Air,现在 MacBook 已经停产了。也就是说,你可能会考虑在更大的屏幕上多花一点钱。在 11 上编写代码确实很困难)英寸的屏幕。)几个月的开发可能会收回您的初始投资。

祝你好运!

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.

There are a few problems.

  1. The iOS SDK libraries don't exist for Linux.

  2. The simulator does not exist for Linux.

  3. How do you plan to sign your app from Linux?

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.

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.

Good luck!

摇划花蜜的午后 2024-10-24 11:54:16

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

While probably not producing native looking apps, there are a couple cross-platform multimedia tool-stacks, like the Kivy Project - which supports packaging for iOS - http://kivy.org/docs/guide/packaging-ios.html - This project does use Python as the programming language, not objective C.

︶葆Ⅱㄣ 2024-10-24 11:54:16

请查看此处了解相关信息。基本上,如果您想通过 Apple 商店分发应用程序,则运行具有 OSX 映像的虚拟机可能是最佳方法。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文