Powered by coANDco UK

How to get started with iPhone Application Development

From How2s

Requirements to get started with iPhone Application Development

In order to get started with iPhone Application Development, you need:

  • an Intel Based Macintosh
  • a certificate (you can purchase that for $99 at http://developer.apple.com/iphone)
  • an iPhone device (although you can use a simulator)
  • some good how tos, tutorials and
  • a lot of patience

Once you're ready to get started, you have to install the iPhone SDK which can be downloaded for free from http://developer.apple.com/iphone/.

The following links are useful to get started:

Testing your app on a real iPhone

In order to get your app on a real iPhone, you have to follow the steps below:

  • buy a certificate from the developers site for $99 (or $299 if you're a business applying to the terms)
  • you will get a activation code, enter it in the site
  • with the activation code, you can access the program portal, where you can find a step by step instruction on how to set up a
    • Certificate
    • Application ID
    • Device
    • Provisioning ID
  • make sure you edit your plist accordingly, particularly the bundle identifier is important (com.yourcompany.${PRODUCT_NAME:identifier} if you set up the same in the Provisioning Pane ('com.yourcompany.${PRODUCT_NAME:identifier}.*)
  • download the provisioning file and load it into the XCode organizer. Add it to your device.
  • make sure you've edited the bundle info of your project accordingly
  • build to your device. It should work now!


Setting up SVN

Make sure you do not commit the

username.pxbuser
build

file/folder. You can change that in the ~/.subversion/config file under the configuration

global-ignores

Step 1. Open the subversion configuration file

~/.subversion/config

NOTE: If the “.subversion” directory doesn’t exist yet then run this command which fails but will create the necessary files to get you started: svn status

Step 2. Enable “global-ignores” and add new things to ignore Find the line that contains the text “global-ignores” and append the following text:

build *~.nib *.so *.pbxuser *.mode* *.perspective*

Step 3. Enable “auto-properties” Located and uncomment (e.g. remove the leading “#” character) the line that looks like this:

# enable-auto-props = yes

Step 4. Add additional properties Then go to the end of the file, in the [auto-props] section, and append these lines:

*.mode* = svn:mime-type=text/X-xcode
*.pbxuser = svn:mime-type=text/X-xcode
*.perspective* = svn:mime-type=text/X-xcode
*.pbxproj = svn:mime-type=text/X-xcode
Please check out our sponsor, thanks to whom How2s.org is FREE: