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

55 questions
21
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
  • 331
  • 1
  • 11
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,531
  • 2
  • 32
  • 56
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
  • 41,555
  • 51
  • 213
  • 379
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,712
  • 2
  • 31
  • 52
4
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
  • 41,555
  • 51
  • 213
  • 379
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
  • 41,555
  • 51
  • 213
  • 379
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
  • 552
  • 2
  • 16
3
votes
0 answers

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
  • 833
  • 6
  • 18
3
votes
0 answers

iOS Xcode 10.2 fails to attach debugger to Apple Watch

I'm trying to debug my WatchKit app on a real device. I select the watchkit app target, and my real device + Apple watch as deployment target. Xcode succeeds deploying the app to device, but seems to quit before the debugger finishes attaching. I…
Alex Stone
  • 41,555
  • 51
  • 213
  • 379
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,441
  • 3
  • 23
  • 32
3
votes
1 answer

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,513
  • 16
  • 18
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
  • 10,009
  • 11
  • 60
  • 93
2
votes
0 answers

Apple Watch Complication - Open App at click

I want to create a complication for my WatchOS App, therefore I activated the option for the complication in XCode and set up some images for all complication types. Now I can see my complication on my Apple Watch 4, but if I click on the…
1
2 3 4