Save 37% off PRO during our Black Friday Sale! »

Tips for Apple Watch.

Tips for Apple Watch.

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

7b31c008877654c31209950ceb9a1333?s=128

griffin-stewie

April 17, 2015
Tweet

Transcript

  1. Tips for  Watch @griffin-stewie

  2. Fenrir Inc. @griffin-stewie

  3. Debug

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

    Process ID or Name” • Use “Executable Name” as Name
  5. handling WatchKitExtensionRequest

  6. Handling WatchKitRequest • Use Background Task • Even if you

    call callback immediately • call `endBackgroundTask:` with after delay 2 sec
  7. Submission

  8. Provisioning Profile • 3 targets • iPhone app • Watch

    extension • Watch app
  9. App Group ID • 3 targets • iPhone app •

    Watch extension • Watch app
  10. Bundle Identifier • 3 targets • iPhone app • Watch

    extension • Watch app
  11. 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
  12. FAQ

  13. SPErrorInvalidBundle
 NoGizmoBinaryMessage

  14. None
  15. Make sure All IDs • WKAppBundleIdentifier • WKCompanionAppBundleIdentifier • Bundle

    Identifiers on each target
  16. Code sign Errors

  17. 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
  18. I can't wait to wear …

  19.  Watch