Questions tagged [watchos-5]

Only use this tag for questions that specifically apply to the Apple Watch OS5. Use the [watch-os] tag for questions related to general [watch-os]. Hardware questions generally belonging to the Appe Watch should be in the Ask Different community.

Watch OS5 is a operating system for SmartWatches produced by Apple. Its key features include:

  • Activity competitions
  • Workout updates
  • Advanced running features
  • and many more

Read more about it on the developer page

56 questions
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…
11
votes
3 answers

WatchOS app cannot start with error Domain: "IDELaunchErrorDomain Code: 15" on Xcode 11 beta

Want to run app under watchOS getting error under Xcode beta: Domain: IDELaunchErrorDomain Code: 15 Failure Reason: Build and Run launch failed as the app to run does not appear to be known by the system.
Evgeny Zrorin
  • 351
  • 1
  • 12
7
votes
1 answer

watchOS 5: HKLiveWorkoutBuilder, HKWorkoutRouteBuilder and Workout Distance

I am using HKLiveWorkoutBuilder & HKWorkoutRouteBuilder to track a workout on Apple Watch. when calling: [workoutBuilder finishWorkoutWithCompletion:^(HKWorkout * _Nullable workout, NSError * _Nullable error) { }]; The returned workout object does…
lewis
  • 2,936
  • 2
  • 37
  • 72
6
votes
0 answers

WatchOS5 - "Could not load file-transfer-result" of WCSessionFileTransfer

I'm trying to send 2 files to my Apple Watch app. It worked initially, but now I'm getting 2 errors printed in the console. WCSession.default.transferFile(fileURL1, metadata: ["name":"first"]) WCSession.default.transferFile(fileURL2, metadata:…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
5
votes
1 answer

WatchOS5 - how to refresh my complication instantly?

I have an apple watch complication and the iPhone app running side by side. I have a button within the app to transmit application context dictionary to the watch. I expect to see the complication title to be refreshed. I cannot seem to force the…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
4
votes
0 answers

imageProvider not displaying image in Graphic Complication Watch OS5

I'm adding Infograph Complications to my Apple Watch app, but I cannot get the images to appear in the GraphicImage family of complications I've successfully created the complications - their data (text, gauge) displays fine, they link into the app…
4
votes
0 answers

Updating Apple Watch Complication by fetching data using a URL request

I am having a complication that needs to update once in a while by fetching data from a server. I am trying to fetch the data from the Watch. I am doing so by scheduling a WKRefreshBackgroundTask. When this task fires, I start a URL session to fetch…
Bocaxica
  • 3,911
  • 3
  • 37
  • 54
4
votes
2 answers

How to create apple watchOS5 complication?

I've never worked in WatchOS5 and want to develop a horizontal complication (Modular large) for AppleWatch, like "Heart Rate". The idea is that I would display heart rate data in a different way. Right now I want to deploy the complication on…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
3
votes
0 answers

"dyld`__abort_with_payload" Crash from Xcode 11 on watchOS 5

I'm getting the same apparent crash as dyld`__abort_with_payload: With no error message but only on the Apple Watch. I suspect it's related to CocoaPods, since this watch app uses Pods, and my other watch app (which does not have this issue) does…
TealShift
  • 842
  • 5
  • 19
3
votes
1 answer

HKLiveWorkoutBuilder + GPS HKQuantityTypeIdentifier.distanceWalkingRunning

I have an HKLiveWorkoutBuilder to track an outdoor run. I also have a LocationManager to add locations to the workout with an HKWorkoutRouteBuilder. I get HKQuantityTypeIdentifier.distanceWalkingRunning by the workoutBuilder(_ workoutBuilder:…
iVentis
  • 993
  • 6
  • 19
3
votes
2 answers

tintColor not working on watchOS 5 complication

I have several complications for watchOS 5 and Apple Watch Series 4 that aren't properly making use of their tintColor. Instead, they just display with white text. Other 3rd party complications on the same face show their color. Is there a trick…
RealCasually
  • 3,593
  • 3
  • 27
  • 34
3
votes
0 answers

watchOS 5 contentSafeAreaInsets always zero

I might be missing something super obvious, but running an app compiled against watchOS 5 on the Apple Watch Series 4 simulator always results in the contentSafeAreaInsets and systemMinimumLayoutMargins returning zero (zero for…
Kane Cheshire
  • 1,654
  • 17
  • 20
3
votes
1 answer

WatchOS5 - what is the "Graphic rectangular" complication image size?

I'm looking at this list of complication images for WatchOS5 by Apple, it mentions template for the graphic rectangular complication on 44mm watch being 342px × 108px (171pt × 54pt @2x) I tried sending 342x108 image, and it is too large - it…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
3
votes
2 answers

Multicolor Complication Text

I am creating a .graphicCorner ClockKit complication using the template CLKComplicationTemplateGraphicCornerTextImage. As mentioned in the Tech Talk Developing Complications for Apple Watch Series 4 it should be possible to combine multiple…
Bernd
  • 11,133
  • 11
  • 65
  • 98
3
votes
0 answers

iOS WatchKit app fails to install when running from Xcode - WCSession counterpart app not installed - how to fix?

I'm looking at this example of using watch connectivity by Apple I've configured the app group and app identifiers, and the app compiles and runs on my phone, and a loading indicator appear on the watch. However, the app never appears on the…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
1
2 3 4