m (→Xcode Setup) |
|||
Line 22: | Line 22: | ||
Also see: | Also see: | ||
* [https://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow iOS Development Workflow] (Latest Documentation about the Development Setup from Apple) | |||
* [http://www.raywenderlich.com/2915/ios-code-signing-under-the-hood iOS Code Signing under the hood] | * [http://www.raywenderlich.com/2915/ios-code-signing-under-the-hood iOS Code Signing under the hood] | ||
Latest revision as of 14:32, 1 December 2012
Get the iPhone SDK
- Register at developer.apple.com and download the iOS SDK including Xcode (> 4 GB!)
- You don't need to register a full account, thus you do NOT need to pay the 99 $ / year!. The free account is fine
- You don't need to purchase Xcode from the Mac AppStore. Xcode comes for free with the iOS SDK!
Xcode Setup
To test your apps on your (physical) iOS devices and not only in the simulator, you have to compile and sign your applications. You need to install certain certificates and provisioning profiles for this process.
With the latest Xcode3 and Xcode4 releases, compiling signed apps became a lot easier. If the IDE is set up right and Developer Certificates installed correctly, Xcode manages all required profiles automatically. You don't even have to set the App Identifier! Just follow the first steps (1 to 4) and you should be able to run your app on your iOS device:
- send your Name, E-mail and UDID to Michael (the UDID can be found under “ID” in Xcode → Windows → Organizer → Devices, if the device is connected - alternatively you can find it in iTunes, Overview page of your connected device, click on "Serial Number" and it shows the UDID - though you cannot copy and paste it)
- accept the invitation you receive
- login at the Apple Developer Program Center and follow the “How To” under ”Certificates” to generate your certificate and upload the generated .cert file
- once your certificate has been accepted, download the WWDR Intermediate Developer Certificate and add it to your keychain
- When you compile your project for the device, your app will be signed and can be uploaded to your device
For older Xcode versions you also have to follow these additional steps:
- download the “Summer Term Apps” Provisioning Profile and upload it to your device
- In your XCode Project, go to Target → YourApp → Show Info → Properties and replace "com.apple" with “de.uni-weimar”
- When you compile your project for the device, your app will be signed and can be uploaded to your device
Also see:
- iOS Development Workflow (Latest Documentation about the Development Setup from Apple)
- iOS Code Signing under the hood
Submitting to the App Store
see:
Diese Seite ist Teil des Werkmoduls iOS Development von Michael Markert für Interface Design / Fakultät Medien an der Bauhaus-Universität Weimar.