Used for problems unique to the upgrade to watchOs 4. Use watch-os for most issues (so more people will see it)
Questions tagged [watchos-4]
68 questions
16
votes
0 answers
How to get WatchOS4 heartRateVariabilitySDNN and it's use?
I am trying to use heartRateVariabilitySDNN. I successfully get heartRate by query and I use the following code for getting heartRateVariabilitySDNN but have no idea how it works. Also there is no proper documentation about this query or sample code…

Nitin Gohel
- 49,482
- 17
- 105
- 144
14
votes
1 answer
[SPApplication _accessibilityInitialize]: unrecognized selector sent to instance on watchOS4
Once my watch app starts, it crashes with the following error:
2017-08-17 13:59:54.304792-0300 watchOS4 Extension[11500:1617313] -[SPApplication _accessibilityInitialize]: unrecognized selector sent to instance 0x79e5b8f0
2017-08-17…

GGirotto
- 848
- 2
- 10
- 31
11
votes
3 answers
"The Internet connection appears to be offline" when making URLSession requests on Apple Watch using LTE
Bug:
I'm consistently getting error code -1009 "The Internet connection appears to be offline." errors when making URLSession requests in an Apple Watch extension on an Apple Watch Series 3 when connected to the Internet only via LTE.
Steps to…

jaredsinclair
- 12,687
- 5
- 35
- 56
10
votes
1 answer
containerAppExtensionEntitlementsWithCompletion failed with error: (null)
I'm getting this error in the console for my watch app and I can't figure out what it's related to and haven't found any other posts or documentation about it. Anyone else know?
The full message is 2017-12-02 18:31:01.379382-0500 Watch…

GarySabo
- 5,806
- 5
- 49
- 124
9
votes
1 answer
Presenting multiple WKInterfaceController(in page base navigation) cause extra black space on top in watchOS4.
The application was running well before watchOS4 but in watchOS4 there is extra black space is visible on top of WKInterfaceController. This case happens in present WKInterfaceController only but seems working fine if I try to push…

Tejas Ardeshna
- 4,343
- 2
- 20
- 39
8
votes
1 answer
WKRefreshBackgroundTask cleanupStorage Error attempting to reach file
Whats this error I get when making a URLBGTask in WatchOS4 on the Simulator?
2017-09-28 16:05:26.452999+0900 MiFollowers WatchKit Extension[4628:4012814] [bg_app_refresh] -[WKRefreshBackgroundTask cleanupStorage]_block_invoke:213: Error attempting…

Ryuuzaki Julio
- 369
- 1
- 14
6
votes
1 answer
In apple iWatch background task is not getting called or triggering with schedule time
Update location when a task is triggered when the app in background. But unable to execute a task with background mode. My sample code with scheduleBackgroundRefreshWithPreferredDate is as below
[WKExtension.sharedExtension…

Ashish
- 2,977
- 1
- 14
- 32
5
votes
1 answer
How to check apple watch mute status?
I am working on application where i need to check apple watch mute button is On or off.
In iPhone we can detect it using AudioToolbox framework but in watch OS there is no framework with name AudioToolbox.
So my question is how could we detect apple…

Mehsam Saeed
- 235
- 2
- 14
5
votes
1 answer
How to disable "turn-to-sleep" on Apple Watch?
I'm working for an airline with their app. We have released the app on Apple Watch, but have a big problem: the scanners for the QR-code used to go through security and to board the plane, are scanning from the bottom and up...
This means that you…

Otziii
- 2,304
- 1
- 25
- 34
5
votes
2 answers
Playing audio in a WatchKit workout app when backgrounded and screen is off
I'm trying to build a WatchKit app that will give audio feedback during a workout. The audio is a series of short pre-recorded voice clips.
The app starts a workout session
Audio clips play fine when the app is active
Audio also plays fine when the…

John Martin
- 1,502
- 1
- 14
- 25
5
votes
1 answer
WKRefreshBackgroundTask Error attempting to reach file bktasksnapshot_(null)
When executing a background task in watchOS 4.0 (Xcode 9.0 beta 6) I get error messages similar to below. They don't appear to be causing any issues, but I'm not sure. Does anyone know what is causing these errors to get logged and if there is a…

Justin Domnitz
- 3,217
- 27
- 34
4
votes
0 answers
How to access core data object from watch application in watchOS 3 +?
I am new in WatchKit and stuck in fetching core data object from iOS App. I have one application which fetches the data from iOS App's core data storage. I have added target for my CoreDataManager file and tried to fetch the data, but every time I…

Akruti
- 183
- 1
- 12
4
votes
0 answers
WKInterfaceLabel goes dark after reaching a certain height
I am trying to display a lot of data in a WKInterfaceLabel. At some point I've realized that the label goes dark entirely at long texts.
At first I thought it's to do with the amount of lines but after a quick test I figured that the amount of…

Trangler
- 73
- 5
4
votes
1 answer
HKSampleQuery will only return values from past 7 days?
This is a WatchOS App. Through testing, it appears as though this code will only return any bodyweight values that I manually add to the health app that are less than 1 week old. Is this intended? Ways around?
func getUserBodyMass(completion:…

GarySabo
- 5,806
- 5
- 49
- 124
3
votes
1 answer
Apple Watch Series 4 show full screen wrong
My full screen SpriteKit game which works fine on 38/42mm in Series 2/3, when run on Series 4 (real hardware), seems to cut off the top (approximately the height of the rounded edge) and push down the game scene. This happened regardless of whether…

Lim Thye Chean
- 8,704
- 9
- 49
- 88