Questions tagged [apple-watch]

The Apple Watch is a smartwatch that was announced by Apple on September 9, 2014, with first deliveries in April 2015. Its third-party API, WatchKit, was released in November 2014. Use this tag for questions relating to Apple Watch hardware. For software questions, use the [watchkit] tag.

The Apple Watch is a smartwatch that designed to work with iPhones running iOS 8 or later (except for the iPhone 4s – iPhone 5 and later only). It features a "Digital Crown" as a novel input mechanism and comes in aluminum, stainless steel, and 18-karat gold variations.

The watch uses the WatchKit framework for development and presumably runs on an iOS variant.

Apps are meant to be lightweight and companions to their iPhone app counterparts, rather than replacements. They can be either Glances (obsolete since watchOS 3), which offer up timely information in a readable format, or full-fledged Watch Apps.

Watch Apps can be either hierarchical or page-based, and use a grid-based layout system as opposed to iOS's standard Auto Layout system.

Apple is focusing on these key areas:

Resources:

Samples:

2380 questions
89
votes
31 answers

In Xcode I see (no paired Apple Watch) even though the watch is paired and the watch's UDID is registered

My phone is listed as an ineligible target in Xcode and out to the side it says (no paired Apple Watch). My Apple Watch is registered under iOS Devices. I can see the UDID. The watch has watchOS 2.0 installed and my iPhone 6 has iOS 9…
dmin7b5
  • 1,031
  • 1
  • 9
  • 5
65
votes
7 answers

WatchKit apps must have a deployment target equal to iOS 8.2 (was 8.3)?

I just downloaded Xcode 6.3 beta 4, and my WatchKit app now fails to build with an error: Embedded Binary Validation Utility Error error: WatchKit apps must have a deployment target equal to iOS 8.2 (was 8.3) The iOS app and the project actually…
UberJason
  • 3,063
  • 2
  • 25
  • 50
64
votes
5 answers

WatchKit Extension bundle identifiers

I am trying to build my app but it failed. I am shown the message below. error: WatchKit Extension doesn't contain any WatchKit apps whose bundle identifiers match "com.domain.appname.watchkitapp". Verify that the value of WKAppBundleIdentifier in…
Tom Coomer
  • 6,227
  • 12
  • 45
  • 82
60
votes
25 answers

iOS: Watch Kit paired device unavailable for development

I can't run my Apple Watch application in XCode. My phone+watch is listed as a "Unavailable Device" and says "paired device unavailable for development". When I try to launch the app it says the same thing. How can I resolve this? I'm using XCode…
akiraspeirs
  • 2,127
  • 2
  • 21
  • 29
58
votes
5 answers

Debug on real Apple Watch: Application Verification Failed

I tried to debug my WatchKit app on a real Apple Watch today. After hitting the Debug button in Xcode, the main iPhone app was installed properly, but the Apple Watch only displayed the message Failed to install xxx, error: Application Verification…
zavié
  • 4,301
  • 2
  • 34
  • 46
57
votes
13 answers

Invalid Device State - Xcode/iOS Simulator error

Problem: I cannot simulate an Apple watch interface. Whenever I try and test my Apple watch app on the iPhone 6 simulator, Xcode successfully finishes and builds the app, attempts at opening simulator and fails with an error message which reads…
KeeperOfKale
  • 711
  • 1
  • 7
  • 10
55
votes
9 answers

How to detect Swiping UP, DOWN, LEFT and RIGHT with SwiftUI on a View

I'm getting into building Apple Watch apps. What I'm currently working on will require me to make use of detecting swipes in the four main directions (UP, DOWN, LEFT and RIGHT) The problem is I have no idea how to detect this. I've been looking…
Barry Michael Doyle
  • 9,333
  • 30
  • 83
  • 143
50
votes
3 answers

Non-Public Library SockPuppetGizmo

I got an email that my latest binary submission to Apple for an iOS/Watch OS app was invalid due to: The app links to non-public libraries in PlugIns/iPrayed.appex/iPrayed WatchKit App.app/_WatchKitStub/WK: …
user717452
  • 33
  • 14
  • 73
  • 149
46
votes
6 answers

FBSOpenApplicationErrorDomain Code=3

I just added a Watch app to my project and try : override func awakeWithContext(context: AnyObject?) { super.awakeWithContext(context) let res = WKInterfaceController.openParentApplication(["key" : "value"]) { (replyInfo, error) ->…
Pierre
  • 10,593
  • 5
  • 50
  • 80
38
votes
9 answers

ERROR ITMS-90512: Invalid sdk value... 8.2 is higher than maximum allowed value of 10.3?

Trying to upload a binary, which includes a watch app. The error I'm getting (which I wasn't getting a couple days ago) is the value provided for LC_VERSION_MIN_IPHONEOS for the watchkit extension is 8.2 which is greater than the maximum allowed…
Adam
  • 1,486
  • 3
  • 20
  • 35
35
votes
8 answers

Xcode attach to process doesn't display NSLog

I'm just getting started with Apple Watch. I found instructions from "Five Minute Watchkit", on getting the iOS app and the watch kit app both running in the simulator and both processes attached to the LLDB debugger. What I do is launch and quit…
Duncan C
  • 128,072
  • 22
  • 173
  • 272
34
votes
1 answer

iOS WatchOS - what is the difference between WatchKit App and WatchKit App extension?

I'm trying to create an iOS WatchOS5 complication and am seeing a number of tutorials and apple documentation. They talk about: WatchKit App WatchKit App extension What is the difference between iOS WatchKit App and WatchKit App Extension? If I…
34
votes
7 answers

App Icon has Unassigned Image error

I'm getting these errors: I can't tell exactly which thing it is talking about? If it is a 42 mm 2x, then I don't have a spot to put that. Can you help? Thanks! EDIT: Per comment below, I looked on the right pane. Looks like it needs the 44…
SRMR
  • 3,064
  • 6
  • 31
  • 59
33
votes
6 answers

Passing data back from a modal view in WatchKit

When modally presenting, or pushing, an interface controller we can specify the context parameter to pass some data to the new controller as follows. // Push [self pushControllerWithName:@"MyController" context:[NSDictionary…
BytesGuy
  • 4,097
  • 6
  • 36
  • 55
32
votes
10 answers

How to automatically set the version and build number of a Watchkit app target

The version and build number (or version and short version) of a Watchkit app and extension have to be set to the same value as the containing app. I use environment variables to set the apps version in the Info.plist dynamically at build time. That…
dogsgod
  • 6,267
  • 6
  • 25
  • 53
1
2 3
99 100