Playing with the simulator for the iPhone SDK has been a lot of fun. Mobile Safari is so cute on the simulator! It’s been kinda tough figuring out how to get a sample app running on the iPhone. Here’s what I’ve found out.
To get XCode to build for the iPhone device, I had to: a) open xcode, b) open my recent project c) under the window menu, select the organizer. d) click on my iphone in the organizer and select Details from the View menu e) NOW I can use the drop down in the upper left to select “Device Debug” or “Simulator Debug.”
Even though I paid the $99 to developer.apple.com/iphone, I do not immediately have a certificate for running code on my iPhone.
This Apple link has a guide on how to request a certificate.
A developer certificate is a certificate Xcode uses to code sign your application before it uploads it to your device for testing.
To get a developer certificate:Launch Keychain Access, located in /Applications/Utilities.Choose Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority.
In the Certificate Information window:In the User Email Address field, enter your email address.
In the Common Name field, enter your name.
In the “Request is” group, select the “Saved to disk” option.
Click Continue.
The Certificate Assistant saves a certificate signature request (CSR) file to your Desktop.
Upload your CSR file to the iPhone Dev Center.
Download your developer certificate and the Apple Root and Apple WWDR certificates from the iPhone Dev Center.
Double-click each certificate to install them on your computer.
However, I do not understand where on the iPhone dev page to upload my CSR file!