tags:

views:

14820

answers:

8

Is there a way to use Ubuntu Linux for developing iPhone applications destined to be listed on Apples app store ?

+3  A: 

Not officially, no. It's just Objective-C though and the compiler's open source - you could probably get the headers and compile it and somehow get the binary on the device. Another option is compiling on the device. All these options will require jailbreaking though.
A Mac Mini is just $599...

Isaac Waller
You could also buy a used mac for even less...
zPesk
This is true, but you'd really be doing yourself a huge disservice not using XCode, Interface Builder, Instruments, or the iPhone Simulator. Apple's tools are excellent, and (especially as a new iPhone developer) I think it'd be unwise to try to go without them!
Ben Gotow
A: 

Probably not. While I can't log into the Apple Development site, according to this post you need an intel mac platform.

http://tinleyharrier.blogspot.com/2008/03/iphone-sdk-requirements.html

rifferte
That's the official Apple line - and you won't get an app onto the App Store without following the official Apple line.
David Thornley
+2  A: 

I found one interesting site which seems pretty detailed on how you could setup a ubuntu for iPhone development. But it's a little old from November 2008 for the SDK 2.0.

Ubuntu 8.10 for iPhone open toolchain SDK2.0

The instructions also include something about the Android SDK/Emulator which you can leave out.

jitter
So did you already have time to check this one out?
jitter
+2  A: 

With some tweaking and lots of sweat, it's probably possible to get gcc to compile your Obj-C source on Ubuntu to a binary form that will be compatible with an iPhone ARM processor. But that can't really be considered "iPhone Application development" because you won't have access to all the proprietary APIs of the iPhone (all the Cocoa stuff).

Another real problem is you need to sign your apps so that they can be made available to the app store. I know of no other tool than XCode to achieve that.

Also, you won't be able to test your code, as they is no open source iPhone simulator... maybe you might pull something off with qemu, but again, lots of effort ahead for a small result.

So you might as well buy a used mac or a Mac mini as it has been mentioned previously, you'll save yourself a lot of effort.

Florian
+2  A: 

There are two things I think you could try to develop iPhone applications.

  1. You can try the Aptana mobile wep app plugin for eclipse which is nice, although still in early stage. It comes with a emulator for running the applications so this could be helpful

  2. You can try cocoa

  3. (Extra) Here is a nice guide I found of guy who managed to get the iPhone SDK running in ubuntu, hope this help -_-. iPhone on Ubuntu

ferronrsmith
+3  A: 

Many of the other solutions will work, but they all make use of the open-toolchain for the iPhone SDK. So, yes, you can write software for the iPhone on other platforms... BUT...

Since you specifically specify that you want your app to end up on the App Store, then, no, there's not really any way to do this. There's certainly no time effective way to do this. Even if you only value your own time at $20/hr, it will be far more efficient to buy a used intel Mac, and download the free SDK.

mmc
Getting the applications on the app store is *the* most important part of the project. It was the word "efficient" that got me. :)
joebert
A: 

There is no real way of developing iPhone apps without having a real mac.

Some tried to create hackintosh computers and hack the osx, others have used virtual machines to install osx, but none of them had a real success on installing xCode or compiling iphone apps.

I can bet with anyone that even if you find a way to create iphone apps without having a mac, then you will quit programming in this way in less than 1 week. This is because of the errors and the crappy performance that osx clones give.

If you really want to make iPhone apps then I suggest you make it the LEGAL way so you won;t have problems later and also I suggest you to get a mac :).


Adrian, Windows and PC user! (...starting to become an Apple fan)

Adrian Pirvulescu
This is not correct, many apps including many on the appstore have been developed without any apple machine involved (other than an actual ipod or itouch). You do not need to jailbreak an ipod to install your own software either.
IanNorton
OK.. I was rated -2... nice! since the apple licence agreement is asking that apps are created on a mac and use the right programming language. So why my answer is not good ?
Adrian Pirvulescu
A: 

It can be done!!!!!!

There is someone who did it.

Enjoy :)

kkaploon