Slide 1

Slide 1 text

Tips for  Watch @griffin-stewie

Slide 2

Slide 2 text

Fenrir Inc. @griffin-stewie

Slide 3

Slide 3 text

Debug

Slide 4

Slide 4 text

Use debugger both devices • Attach to Process • “By Process ID or Name” • Use “Executable Name” as Name

Slide 5

Slide 5 text

handling WatchKitExtensionRequest

Slide 6

Slide 6 text

Handling WatchKitRequest • Use Background Task • Even if you call callback immediately • call `endBackgroundTask:` with after delay 2 sec

Slide 7

Slide 7 text

Submission

Slide 8

Slide 8 text

Provisioning Profile • 3 targets • iPhone app • Watch extension • Watch app

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

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

Slide 12

Slide 12 text

FAQ

Slide 13

Slide 13 text

SPErrorInvalidBundle
 NoGizmoBinaryMessage

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Make sure All IDs • WKAppBundleIdentifier • WKCompanionAppBundleIdentifier • Bundle Identifiers on each target

Slide 16

Slide 16 text

Code sign Errors

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

I can't wait to wear …

Slide 19

Slide 19 text

 Watch