What do you need to create iPhone Applications
- You need to have iPod Touch or iPhone, at least one of the devices should be upgraded to the latest OS version (currently 3.1.3) or you can have a beta of the future OS (like 4)
- You need to have a Mac. I presume that hacked version of Mac OS X on a generic PC will work too, but I think that real mac will be a lot easier to deal with.
- You need Apple ID, that usually people get when register with apple or create iTunes account.
- You need to register as Apple Developer and login to developer.apple.com
- You have to sign up for iPhone Development program. For individuals and small companies it costs $99, but if you what to register it to a company you must provide some paperwork that can prove that you are a legal owner of that company. Individual just pays with credit card and it's enough to prove your identity.
- Download iPhone SDK, it is about 2Gb and you will need about 4-5GB free space on the computer to install it all.
- SDK installs several programs, including Xcode (to the /Developer and not to the /Applications), and that is the main application that you will use to create iPhone apps. So you start it.
- Create a new project and connect you iPhone (or iPod Touch) via usb cable. It will prompt you that you can use this device for development. You have too. Basically apple just protects itself from any fault in case you ruin you iPhone with your apps. Actually go ahead and add all you devices now.
- You will have to create certificate, follow apple's instructions how to do it using keychain application. You will need to get a transitional key from apple first. Than you create a request for a key, save it locally and then on Dev Center site you request the real key. Download it and install to keychain.
- You will have to go to Dev Center site and get a certificate there, create App ID and create a hardware profile (for all the devices you want to test you app on, do it for all of them in one step, otherwise it will be harder to test)
- Once it is all done you get a Provisioning file and open it in Organizer (that is part of Xcode). Organizer is like a pseudo-itunes, that you use for managing apps on testing devices, bypassing iTunes Apps store.
- In Xcode you create you app. Probably the easiest is to download a sample app from Apple and just modify it. Once you open sample app, just go ahead and try to build it and run in Simulator right away. It will prompt you if you missed anything. Once it runs in Simulator try to build it for you iPhone. When you get it to run you can start modifying and experimenting.
- iPhone apps are made with Apple Objective C language. Not the simplest one and if you not a programmer it will not look as trivial at all, even if you have experience creating hand coded websites. You will need to name you project correctly, it will need to have an icon that is 57x57 pixels, 72dpi, in PNG format and name it Icon.png.
- Lets assume you created an app, that you like, it runs in Simulator and on you iPhone. Create a Release Build, make sure you use proper provisioning profile and it is signed properly too.
- Login to iTunes Connect, there you have to verify you address, and Request/Submit your paid application agreement, if you plan to ever write non-free applications. Enter all contact info (Bank, Tax, etc)
- Add you application. It will require few images, description, a webpage, screenshot. You can check "upload application later" box.
- Once you create you App in iTunes Connect, you might want to distribute it via iTunes Apps Store. Download and install ApplicationLoader. It will know that you already created an app in the iTunes Connect and you can upload it there. The binary app is in the project folder\build\something_with_word_release. You must zip it first.
last updated 2010.04.13 by Dimka