views:

361

answers:

5
+4  Q: 

iphone development

What are the options for developing iPhone apps? Currently I've tried to install gnu kit for Linux without success! Too many steps, and at the and I was unable to compile a single app. The Apple SDK seems to be much more easy, but I don't have a Mac. So am I missing something?

+7  A: 

Yes, the Mac. It's probably not worth the effort without the tools. Especially without the emulator. Apple designed the iPhone, it runs a version of OSX, and they have made the tools. It's not even like all you need is the complier because you don't have the tools to debug, load and manage the applications.

Damien
Yes, and the emulator is by no means perfect. It will happily run things that don't work on the actual hardware.
Cruachan
+1  A: 

Besides the official MAC you have a project at google code that attempts to make a toolchain for Linux and Windows. iphone-dev This link shows you how to build it.

Paulo Lopes
+1  A: 

There's another FAQ site that answers many of the base iPhone development questions like this, which I've found useful. So you might want to check out iPhoneDevelopmentFAQ.com

+6  A: 

You need a Mac, no question. You also need a iPhone or iPod Touch to develop on as although the emulator is pretty good, it is not perfect - I have example code that works fine in the emulator but fails on the hardware. The hardware also has to be modified to add development keys to it so there is a certain risk to using a real iPhone - many people testify that it's safe enough but myself I chickened and purchase an iPod Touch for development. Keys also have to be installed on your Mac and integrated into XCode - and that's tricky enough to get right even with the standard Apple setup. XCode is free and really quite a decent IDE.

Your minimum requirements are therefore

An Intel Mac running the latest Mac OS. Cheapest option there is a Mac Mini - $599 although you could probably pick up one on ebay that would work just fine for $400 or less.

An iPod Touch (or an iPhone if you need the camera/phone features for your app) - $229

A developer licence from apple so you can get they necessary keys - $99

To emphasise, you absolutely have to test the code on real hardware and the amount of pain you will go though trying to use anything else but a Max and XCode will easily eat the cost of buying an Mac

Cruachan
Just to note: You only need the developer license from Apple to publish software. It is not required to download or use the SDK or other development tools.
Rob Drimmie
True, but it's difficult to see why you'd want to work with the iPhone if it wasn't to make a publishable app
Cruachan
mac mini is not a good option to do development under XCode... it is veryyyyyyy slowwwwww :)
balexandre
Why do we keep answering this same question every other day? Who are all these people who won't spend $1000 to start a business?
Chris Lundie
Good point, and the mentality of people who think it's feasible to develop an application, and presumably market it, **without testing on the hardware their customer will run it on**, completely escapes me.
Cruachan
I have a Macbook and an iPhone already. The problem is I really hate Mac OS X and I want to use Linux for development. I hope Mono and C# will be soon an option. You can use them already for games, with Unity3d, but there are no bindings for the iPhone widgets yet.
ionut bizau
+2  A: 

Check out http://oreilly.com/catalog/9780596155193/ from your local libarary, it says you don't need a Mac, just a jailbroken iPhone/iPodTouch and Linux. I don't know that you can use the SDK to do it, I'm waiting for the 2g jailbreak to even start, but I sure hope I don't need a Mac.

Peter Turner