Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting ready for iOS 8 & iPhone 6

Getting ready for iOS 8 & iPhone 6

A short presentation I have at the TitaniumNL.org meetup on October 1st, 2014. It goes through what you need to get your development environment and apps ready for iOS 8 and iPhone 6 and 6 Plus.

Fokke Zandbergen

October 01, 2014
Tweet

More Decks by Fokke Zandbergen

Other Decks in Technology

Transcript

  1. Compatibility Matrix Titanium Xcode iOS  Simulator Studio CLI SDK 5.x

    6.x 6.x 7.x 8.x  (incl  iPhone  6) 3.4.0 3.4.0 3.4.0 No Yes Device Yes Yes 3.4.0 3.4.0 3.3.0 Yes No Yes Yes Device 3.4.0 3.4.0 3.2.3 Yes No Yes Yes Device 3.4.0 3.4.0 3.1.3 Yes No Yes Yes Device 3.3.0 3.4.0 3.4.0 No Partial Device Device Device 3.3.0 3.4.0 3.3.0 Yes Partial Yes Yes Device 3.3.0 3.3.0 3.3.0 Yes Partial Yes Yes Device CHALLENGES
  2. Compatibility Matrix Titanium Xcode iOS  Simulator Studio CLI SDK 5.x

    6.x 6.x 7.x 8.x  (incl  iPhone  6) 3.4.0 3.4.0 3.4.0 No Yes Device Yes Yes 3.4.0 3.4.0 3.3.0 Yes No Yes Yes Device 3.4.0 3.4.0 3.2.3 Yes No Yes Yes Device 3.4.0 3.4.0 3.1.3 Yes No Yes Yes Device 3.3.0 3.4.0 3.4.0 No Partial Device Device Device 3.3.0 3.4.0 3.3.0 Yes Partial Yes Yes Device 3.3.0 3.3.0 3.3.0 Yes Partial Yes Yes Device IDEAL  ENVIRONMENT
  3. Xcode 6 ❍ Rename Xcode 5 as Xcode5.app
 Back it

    up outside Applications ❍ Update Xcode to 6 via App Store ❍ Download Xcode 5 again if #1 failed ;)
 developer.apple.com/downloads/?name=5.1.1 ❍ Download the Xcode 6 iOS 7.1 Simulator
 File > Preferences > Download
  4. Titanium 3.4.0 ❍ Studio
 www.appcelerator.com/titanium/download-titanium/ ❍ SDK
 ti sdk install

    -d ❍ CLI & Alloy
 sudo npm i -g titanium
 sudo npm i -g alloy
  5. ≫ ti build -p ios -C ? Which simulator do

    you want to launch your app in? 8.0 1) iPhone 4s 2) iPhone 5 3) iPhone 5s 4) iPhone 6 Plus 5) iPhone 6 6) iPad 2 7) iPad Retina 8) iPad Air 9) Resizable iPhone 10) Resizable iPad 7.1 11) iPhone 4s 12) iPhone 5 13) iPhone 5s 14) iPad 2 15) iPad Retina 16) iPad Air Select an simulator by number or name [1]: Xcode auto-select in CLI ≫ ti build -p ios -C ? -s 3.2.3.GA Which simulator do you want to launch your a 1) iPhone Retina (3.5 inch) 2) iPhone Retina (4 inch) 3) iPhone Retina (4 inch 64-bit) 4) iPad 5) iPad Retina 6) iPad Retina (64-bit) Select an simulator by number or name [1]:
  6. App Checklist: Graphics ❍ Add 2 new app icons for

    iPhone 6+
 ticons icons ❍ [email protected] (180) ❍ [email protected] (87) ❍ Generate 3 new launch images for iPhone 6 / 6+
 ticons splashes <input.png> ❍ [email protected] (750x1334) ❍ [email protected] (1242x2208) ❍ [email protected] (2208x1242) ❍ Generate @3x image assets
 ticons assets app/assets/android/images/res-xxhdpi ❍ Check your lay-outs (all 9:16 for iPhone 5 and up!)
  7. App Checklist: Breaking ❍ New notification permission flow
 docs.appcelerator.com/titanium/latest/#!/guide/Subscribing_to_push_notifications ❍

    New geolocation purpose configuration
 docs.appcelerator.com/titanium/latest/#!/api/Titanium.Geolocation
 ❍ Localising the purpose
 tidev.io/2014/09/29/translating-nslocationalwaysusagedescription
  8. How about new iOS 8 API’s ❍ Touch ID: DONE


    docs.appcelerator.com/titanium/latest/#!/api/Modules.TouchId ❍ Interactive Notifications: DONE
 docs.appcelerator.com/titanium/latest/#!/guide/iOS_Interactive_Notifications 
 www.appcelerator.com/blog/2014/09/new-in-sdk-3-4-ios-8-interactive- notifications/ ❍ HomeKit: IN PROGRESS
 jira.appcelerator.org/browse/TIMOB-17334 ❍ HealthKit, Widget & Share extensions: WATCH IT!
 jira.appcelerator.org/browse/TIMOB-17333
 jira.appcelerator.org/browse/TIMOB-17556 
 jira.appcelerator.org/browse/TIMOB-17335 ❍ CloudKit, PhotoKit, Barometer: REQUEST IT! ❍ WatchKit: UNRELEASED