iPhone Dev 101: Downloading and Installing the iPhone SDK
A software development kit is a set of tools and APIs (application programming interface) that allows a programmer the ability to develop for a specific system. Therefore, the iPhone SDK gives you the ability to program for the iPhone.
The SDK is just a waste of space on your hard drive unless you know the programming language associated with the iPhone. To program on the iPhone, you will need some Cocoa (Objective-C) knowledge. There are a ton of resources available online and in book form -- I'll cover these and more in the next post in the series. If you already know a programming language like C/C++/Java, then you should just need a refresher course on the classes, methods, and basic expressions.
To download Apple's iPhone SDK, you'll need an Apple ID -- this is a free account that you can use to access multiple Apple services including iTunes, Apple Discussions, the online store, and the developer site. If you don't have an account, you can easily get one on the iPhone Dev Center.
Continue reading to learn how to download and install the iPhone SDK.
To download the SDK:
- Open http://developer.apple.com/iphone in your web browser. This is the iPhone Dev Center, and it offers multiple resources for the iPhone.
- Click the "Login" button on the right-hand side of the page. Use the following pages to either login using your Apple ID, or create a new Apple ID.
- Upon successful login, you will be returned to the Dev Center main page. Under the downloads section you should see a link to "iPhone SDK for iPhone OS 2.2." Clicking this link will start the ~1.6GB download -- the download process could take up to 3 hours (or longer) depending on your Internet connection speed.
Installing the SDK is very simple:
- Once the download is complete, find where the .dmg file was downloaded to (normally the desktop, or User > Downloads folder). Double-click on it to open the disk image.
- Double-click on the installer package inside of the disk image. The installer will launch and allow you to install the SDK. Just follow the on-screen instructions. Remember that installing the SDK will eat up about 2-3GBs of hard disk space; you can install the SDK on an external hard drive if necessary.
Stay tuned next week, as I'll give you some valuable Cocoa programming resources.
Subscribe to Newsletter
Software Updatesmore updates
- Fantastical 2.1 for iOS adds new snooze, search and notification features
- ExpanDrive 4, more services and faster sync
- Apple adds iTunes Extras to Apple TV
- Spotify updates with new iPhone controls in time for summer BBQs
- iTunes U update will bring course creation and student discussion to iPad app
- Dropbox for iOS update adds new setup and file management options