Questions tagged [watchos-6]

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

watchOS version 6 is an operating system for SmartWatches produced by Apple.

Read more about it on the developer page

84 questions
3
votes
2 answers

watchOS, not receiving remote notifications

I am developing app on WatchOS 6 but I cannot receive remote notification Here is my registration code for push notifications in ExtensionDelegate I am getting valid device token. extension ExtensionDelegate { func setupRemoteNotifications()…
3
votes
3 answers

How to Print Crown Input to Console in WatchOS 6

I'm trying to print crown input in Apple Watch and I can't get it to work. I have created a new watch app (for watch only). I have this in my HostingController: import WatchKit import Foundation import SwiftUI class HostingController:…
Kostas
  • 140
  • 1
  • 13
3
votes
0 answers

WatchOS6 handleActiveWorkoutRecovery not being called after workout crashes

I'm creating a workout app and I'm trying to implement the workoutRecovery logic but the handleActiveWorkoutRecovery function is never being called when an app crashes or is forced closed. Are there any special circumstances that must be met so that…
39fredy
  • 1,923
  • 2
  • 21
  • 40
3
votes
2 answers

Fullscreen view in watchOS with SwiftUI

I wan't to display a SwiftUI View as fullscreen in watchOS (without the Cancel/Back Button or Clock) I've tried adding a Sprite Kit Scene to the view and also setting the .edgesIgnoringSafeArea(.all) but I'm still able to hide them or put a view…
leoMehlig
  • 300
  • 2
  • 10
3
votes
1 answer

Why is Starscream not working anymore on real Apple Watch (WatchOS 6)?

Recently I upgraded my Apple Watch to WatchOS 6.0.1, my iPhone to iOS 13.1.2, Xcode to 11.1. MacOS still 10.14.6. I've created an Independent Apple Watch project where I test the communication between the Watch and a WebSocket server using…
JackieNBee
  • 173
  • 3
  • 18
3
votes
2 answers

Why are Apple Watch's local notifications delayed?

I created an app for Apple Watch with a companion app for iPhone. These two apps test the local notifications on both devices. But since I updated to iOS 13.1.2 and WatchOS 6.0.1, the local notifications on Apple are delayed: when I press the button…
JackieNBee
  • 173
  • 3
  • 18
3
votes
2 answers

Failing APNS for Independent WatchOS6 app

After setting up a new independent WatchOS6 app, which now supports push notifications, getting the device to request the user for push notifications and capturing the push token. I can’t get my server to send a push notification. With all the…
RichAppz
  • 1,520
  • 2
  • 14
  • 27
3
votes
0 answers

how to build connection between independent watch app and companion iOS app?

I created a project with "iOS App with Watch App" template in XCode11(beta5), the project setting item - "Supports Running Without iOS App Installation" has been selected by default. The official doc shows that independent watch app can still use…
3
votes
1 answer

URLSession stopped working on WatchOS 6, did something change from OS 5?

I have an application that uses iOS, todayExtension and watchOS as targets. Until the launch of the new iOS 13, everything was working fine, that week I downloaded the iOS 13 beta on my iPhone and the watchOS 6 on my watch. Then, suddenly my app…
FabricioStein
  • 71
  • 1
  • 5
2
votes
0 answers

Using HKSource.default() in an HKQuery predicate not working correctly in watchOS 7

In watchOS 6, I was creating an HKQuery for the my app using: HKQuery.predicateForObjects(from: HKSource.default()) which when executed, was successfully returning HealthKit data only for my app. In watchOS 7 when I include this predicate in the…
LOP_Luke
  • 3,150
  • 3
  • 22
  • 25
2
votes
0 answers

Cutsom intent on independent Apple Watch app watchos6

I'm building an independent Apple Watch App with a custom intent based Siri Shortcut. I am donating the shortcut whenever the corresponding action is used. I added it as an relevant Shortcut to the relevant Shortcut store. The code works just fine…
2
votes
1 answer

How to deal with Swift UI version compatible to support older devices?

I'm developing an apple watch app on Xcode 12 beta WatchOS 7. I intend to support watchOS 6 too. Following code has error and I don't know how to deal with it, it belongs to SwiftUI problem: struct CompactStockListView: View { var body: some View…
Neo.Mxn0
  • 953
  • 2
  • 8
  • 25
2
votes
1 answer

Checking "Supports Running without iOS App Installation" on Watch App disables WCSession from operating

I checked "Supports Running without iOS App Installation" on a build I submitted to the app store (so that I could get a location permission alert on the watch), however I am noticing that because of this my WCSession calls to the iPhone when…
GarySabo
  • 5,806
  • 5
  • 49
  • 124
2
votes
1 answer

How do you install a standalone watchOS app on a real device for testing?

I can’t seem to find out how to test my standalone watchOS app on a real watch. This is completely stumping me. Xcode does not list my watch as a target, and Apple documentation doesn’t talk about it either. Every single example I have seen talks…
Mark A. Donohoe
  • 28,442
  • 25
  • 137
  • 286
2
votes
1 answer

Extended Runtime Session in watchOS

I am trying to start an extended runtime session on press of a button, and invalidate it after a timer runs out. It works – once. Once I click the button again however, I get an error message. I have a feeling I need to create a new session…
Patrick
  • 71
  • 1
  • 9