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
25
votes
3 answers

Using environmentObject in watchOS

I am trying to use environmentObject in a watchOS6 app to bind my data model to my view. I have created a simple, stand-alone Watch app in Xcode 11. I created a new DataModel class import Combine import Foundation import SwiftUI final class…
Paulw11
  • 108,386
  • 14
  • 159
  • 186
13
votes
3 answers

CoreData with CloudKit on watchOS not syncing

I have managed to get CoreData with CloudKit working with the new NSPersistentCloudKitContainer on the iOS version of my app and got it to automatically sync while the app is running. However, when I went to set things up on the watchOS app, I…
12
votes
5 answers

NavigationBarTitle color change for watchOS in SwiftUI

In the image above id like to change -02:49 to a color such as Color.blue I've tried: struct ContentView: View { var body: some View { PlayerView().accentColor(Color.blue) } } and I've also tried adding it in the actual…
39fredy
  • 1,923
  • 2
  • 21
  • 40
10
votes
0 answers

WatchKit Extension[31646:1403662] libMobileGestalt utility.c:421: no value found for key 1129072723

Does anyone know where to find information about this error from Xcode when running a simulation on the watch WatchKit Extension[31646:1403662] libMobileGestalt utility.c:421: no value found for key 1129072723 It happens when I first launch the…
Kurt L.
  • 623
  • 10
  • 23
6
votes
1 answer

Overriding status bar display time for Apple Watch simulator (using xcrun simctl status_bar)

I need to override the status bar display time for Apple Watch simulator, so I can take screenshots with the time - 10:09. I am using this command in the terminal to do this but it is not working as expected. The command works fine for iOS simulator…
Bijoy Thangaraj
  • 5,434
  • 4
  • 43
  • 70
6
votes
0 answers

watchOS 6 and iOS 13 NSUserActivity Handoff Not Working

Since updating to iOS 13 and watchOS 6, I am unable to get the Handoff feature working from Apple Watch to iPhone for any apps that I build. The feature was previously working on my existing custom built apps, but is no longer working since the OS…
de3z1e
  • 411
  • 4
  • 8
6
votes
1 answer

How to run watchOS app connected to BLE peripheral in the background?

I'm creating a watchOS application. The app should connect to a BLE tag, which sends distance values to the apple watch. If the distance falls below a given value, the application should give some feedback to the user about this. Reading about core…
adamb
  • 793
  • 1
  • 11
  • 20
5
votes
2 answers

Controlling volume of Apple Watch

I'm trying to control the volume of the Apple Watch itself in code from SwiftUI. I'm streaming audio using the AVPlayer. Is there an API to set the Volume of the Watch or use to Digital Crown to control the volume without Setting the volume…
leoMehlig
  • 300
  • 2
  • 10
5
votes
0 answers

Using multiple hosting controllers in SwiftUI on WatchOS

I'm trying to use multiple WKHostingController in a SwiftUI WatchOS project. I want to be able to go from one Controller to 3 controllers. The user will press a button in the first ContentView(1) (That is paired with HostingController(1)) that…
39fredy
  • 1,923
  • 2
  • 21
  • 40
5
votes
2 answers

watchOS 6 WKInterfaceImage crash on deallocation

since the first beta of the watchOS 6 SDK my app started crashing if compiled with the watchOS 6.0 SDK. The issues does not occur with watchOS 6.1 and happens more often in the simulator. Now I have been able to identify the issue: I have an…
Sn0wfreeze
  • 1,959
  • 3
  • 18
  • 32
5
votes
1 answer

Implement Core Data on independent watchOS app

As I know, we can use Core Data on Apple Watch apps. So an independent watchOS app can have it's own persistent store. But when we creating a project for watchOS app, there is no option to use core data (like when we creating a project for an iOS…
umayanga
  • 2,254
  • 3
  • 15
  • 26
5
votes
2 answers

Cannot use TabView on SwiftUI, WatchOS

Is there a way to use TabView using SwiftUI on WatchOS? I've seen most of the WWDC talks and they don't mention it for WatchOS. Moreover, in the apple documentation it is not enumerated under SDK's. Whenever I try to add it to a WatchOS project I…
39fredy
  • 1,923
  • 2
  • 21
  • 40
4
votes
1 answer

Any Push Notification Service for independent Apple Watch apps?

I am using OneSignal for iOS pushing. However, it doesn't support watchOS. For independent Apple Watch apps to work, I need a push notification service for watchOS. But it seems no one around. Has anyone known any push service that support watchOS?
Owen Zhao
  • 3,205
  • 1
  • 26
  • 43
4
votes
2 answers

Is there alternative for CIFIlter to generate QR code in watch os 6

I am developing a watch independant app. I want to generate QRcode on watchkit, but since coreImage doesnt work with watchkit, is there any other way we can do this? Thanks.
3
votes
1 answer

WatchKit App doesn't contain any WatchKit Extensions whose WKAppBundleIdentifier matches

here is the error code I get WatchKit App doesn't contain any WatchKit Extensions whose WKAppBundleIdentifier matches "com.rshelver.tallyCounter.watchkitapp". Verify that the value of WKAppBundleIdentifier in your WatchKit Extension's Info.plist…
Rshelver
  • 49
  • 5
1
2 3 4 5 6