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

Tips for Apple Watch.

Tips for Apple Watch.

@関西モバイルアプリ研究会

griffin-stewie

April 17, 2015
Tweet

More Decks by griffin-stewie

Other Decks in Programming

Transcript

  1. Use debugger both devices • Attach to Process • “By

    Process ID or Name” • Use “Executable Name” as Name
  2. Handling WatchKitRequest • Use Background Task • Even if you

    call callback immediately • call `endBackgroundTask:` with after delay 2 sec
  3. App Group ID • 3 targets • iPhone app •

    Watch extension • Watch app
  4. Bundle ID Provisioning Profile App ID App Group iPhone app

    own = A A A Needs Watch Extension own = B
 
 Watch app’s ID = C B B Needs Watch app own = C
 
 iPhone app’s ID = A C C Needs
  5. FAQ

  6. Make sure • Provisioning Profile on each target • Do

    not use Xcode 6.2 for setting • You cannot edit Watch app’s Build Settings • Use Xcode 6.3 or Xcode 6.1.1 to edit