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
790
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
680
Boost your App Dev using Sketch
griffin_stewie
0
290
Take a peep at .app
griffin_stewie
0
430
Lightweight Markup Language to PDF
griffin_stewie
1
570
ドキュメント作成どうしてる?
griffin_stewie
0
590
Pitfalls of PhotoKit
griffin_stewie
0
250
Talk about "clg" color list generator.
griffin_stewie
1
440
JSON をそこそこ見やすくする CUI ツールを Objective-C で作ったときの話
griffin_stewie
1
570
Other Decks in Programming
See All in Programming
Software Architecture
hschwentner
6
2.1k
昭和の職場からアジャイルの世界へ
kumagoro95
1
350
Formの複雑さに立ち向かう
bmthd
1
720
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
1
480
最近のVS Codeで気になるニュース 2025/01
74th
1
250
負債になりにくいCSSをデザイナとつくるには?
fsubal
9
2.3k
AWSマネコンに複数のアカウントで入れるようになりました
yuhta28
2
160
CI改善もDatadogとともに
taumu
0
110
WebDriver BiDiとは何なのか
yotahada3
1
140
GAEログのコスト削減
mot_techtalk
0
110
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
110
Honoとフロントエンドの 型安全性について
yodaka
4
250
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
29
2.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Typedesign – Prime Four
hannesfritz
40
2.5k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Faster Mobile Websites
deanohume
306
31k
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