Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple iOS IDE for linux?

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.

like image 642
oopbase Avatar asked Feb 14 '11 17:02

oopbase


People also ask

Can I do iOS development on Linux?

Being an iOS developer, you know that using Xcode (IDE), you will be able to develop iOS mobile apps. However, Xcode only runs on a Mac computer. Thus, you need different ways to develop iOS applications on Linux. For developing an iOS app on Linux, you need virtualization software.

Can we use Xcode in Linux?

You cannot run Xcode on a Linux machine.

Can I use iPhone with Linux?

Users of Windows and macOS can communicate with an iOS device by using software provided by Apple, but Apple doesn't support Linux users.

Can I use Xcode in Ubuntu?

If you want to install Xcode in Ubuntu, that is impossible, as already pointed out by Deepak: Xcode is not available on Linux at this time and I don't expected it to be in the foreseeable future. That's it as far as installation.


1 Answers

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!

like image 129
Moshe Avatar answered Sep 20 '22 12:09

Moshe