Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Tips for Apple Watch.
Search
griffin-stewie
April 17, 2015
Programming
0
780
Tips for Apple Watch.
@関西モバイルアプリ研究会
griffin-stewie
April 17, 2015
Tweet
Share
More Decks by griffin-stewie
See All by griffin-stewie
How I develop a Sketch Native Plugin
griffin_stewie
0
660
Boost your App Dev using Sketch
griffin_stewie
0
290
Take a peep at .app
griffin_stewie
0
420
Lightweight Markup Language to PDF
griffin_stewie
1
550
ドキュメント作成どうしてる?
griffin_stewie
0
570
Pitfalls of PhotoKit
griffin_stewie
0
240
Talk about "clg" color list generator.
griffin_stewie
1
430
JSON をそこそこ見やすくする CUI ツールを Objective-C で作ったときの話
griffin_stewie
1
570
Other Decks in Programming
See All in Programming
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
0
170
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
110
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
510
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
190
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.2k
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
490
僕がつくった48個のWebサービス達
yusukebe
20
17k
讓數據說話:用 Python、Prometheus 和 Grafana 講故事
eddie
0
390
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
130
Better Code Design in PHP
afilina
PRO
0
110
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
160
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
790
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Designing for humans not robots
tammielis
249
25k
[RailsConf 2023] Rails as a piece of cake
palkan
51
4.9k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Teambox: Starting and Learning
jrom
133
8.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Visualization
eitanlees
145
15k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Making Projects Easy
brettharned
115
5.9k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Transcript
Tips for Watch @griffin-stewie
Fenrir Inc. @griffin-stewie
Debug
Use debugger both devices • Attach to Process • “By
Process ID or Name” • Use “Executable Name” as Name
handling WatchKitExtensionRequest
Handling WatchKitRequest • Use Background Task • Even if you
call callback immediately • call `endBackgroundTask:` with after delay 2 sec
Submission
Provisioning Profile • 3 targets • iPhone app • Watch
extension • Watch app
App Group ID • 3 targets • iPhone app •
Watch extension • Watch app
Bundle Identifier • 3 targets • iPhone app • Watch
extension • Watch app
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
FAQ
SPErrorInvalidBundle NoGizmoBinaryMessage
None
Make sure All IDs • WKAppBundleIdentifier • WKCompanionAppBundleIdentifier • Bundle
Identifiers on each target
Code sign Errors
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
I can't wait to wear …
Watch