IOSDev: Difference between revisions

From Medien Wiki
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Developing for iPhone & iPod Touch==
Vorbemerkungen, iPhone SDK, Code-Signing, Building
== Get the iPhone SDK ==
== Get the iPhone SDK ==
* [http://developer.apple.com developer.apple.com]
* Register at [http://developer.apple.com/programs/register/ 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!


== Join the Team ==
== Xcode Setup ==


== Setup XCode ==
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.


== Links & Resources ==
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:


=== Official ===
# 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)
* [http://developer.apple.com/iphone/manage/overview/index.action Bauhaus-iPhone @ developer.apple.com]
# accept the invitation you receive
* Apple's User Interface Guidelines for the iPhone Plattform: [http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/Introduction/Introduction.html User Experience]
# login at the [http://developer.apple.com/iphone/manage/overview/index.action 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


=== Tutorials ===
For older Xcode versions you also have to follow these additional steps:
* [http://icodeblog.com/2008/07/26/iphone-programming-tutorial-hello-world/ iCodeBlog iPhone Tutorials]
# download the “Summer Term Apps” Provisioning Profile and upload it to your device
* [http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.2024353965.02024353968 iTunes U: Stanford Programming iPhone Course]
# 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


=== Literatur ===
Also see:
* '''O'Reilly: Head First iPhone Development, ISBN 978-0-596-80354-4'''
* [https://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow iOS Development Workflow] (Latest Documentation about the Development Setup from Apple)
* O'Reilly & MAKE: iPhone Open Application Development, ISBN 9780596516642
* [http://www.raywenderlich.com/2915/ios-code-signing-under-the-hood iOS Code Signing under the hood]
* O'Reilly iPhone Game Development: Paul Zirkle & Joe Hogue, ISBN 978-0-596-15985-6
* Beginning iPhone Development: Dave Mark, Jeff LaMarche, ISBN 978-1430224594
* iPhone SDK Programming, Advanced Mobile Development: Maher Ali, ISBN 978-0-470-68398-9
* iPhone Advanced Projects: Apress, ISBN 978-1430224037
* iPhone Design Award Winning Projects: Apress, ISBN 978-1-4302-7235-9 & eBook ISBN: 978-1-4302-7234-2
* Beginning iPhone SDK Programming with Objective-C, Wei-Meng Lee, ISBN 978-0470500972
* Pragmatic iPhone 3.0 SDK Development: Bill Dudney & Chris Adamson. ISBN 978-1-93435-625-8
* Web-Applications: Professional iPhone and iPod Touch Programming - Building Applications for Mobile Safari, ISBN 978-0-470-25155-3


Hinweis: Beim Kauf englischsprachiger Literatur bitte beachten, dass diese nicht der deutschen Buchpreisbindung unterliegt (z.B. Head First iPhone Dev im Januar 2010 bei Thalia 48,-, bei Amazon 27,-)!
== Submitting to the App Store ==
see:
* [https://itunesconnect.apple.com/docs/iTunesConnect_DeveloperGuide.pdf iTunes Connect Developer Guide]


{{Template:iPhoneDev}}
{{Template:iPhoneDev}}

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:

  1. 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)
  2. accept the invitation you receive
  3. login at the Apple Developer Program Center and follow the “How To” under ”Certificates” to generate your certificate and upload the generated .cert file
  4. once your certificate has been accepted, download the WWDR Intermediate Developer Certificate and add it to your keychain
  5. 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:

  1. download the “Summer Term Apps” Provisioning Profile and upload it to your device
  2. In your XCode Project, go to Target → YourApp → Show Info → Properties and replace "com.apple" with “de.uni-weimar”
  3. When you compile your project for the device, your app will be signed and can be uploaded to your device

Also see:

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.