watchOS is the operating system for Apple Watch.

watchOS Documentation

Posts under watchOS tag

415 Posts
Sort by:
Post not yet marked as solved
0 Replies
166 Views
After updating to watchos 10.2 developer beta (currently on 21S5331f), the step count, distance and floor count on watchfaces stay at 0 (zero) and do not update. Only when tapping on it, it opens up and only there it updates the count. It used to show before the count just fine straight onto the watchface. This issue persisted over the last 2 or 3 beta updates.
Posted
by sorincx.
Last updated
.
Post marked as solved
338 Replies
398k Views
Hi. I am pairing my Apple Watch Series 5 to my iPhone running ios 14. The pairing is successful but unable to proceed with the set up because an update is needed to be downloaded first. I updated the os for watch but I keep on getting “Unable to Check for Update - Checking for a software update failed because you are not connected to the internet”. I am definitely connected to the internet. Watch was reset to factory defaults and I am now pairing it as a new device but it fails due to the issue mentioned above.
Posted Last updated
.
Post not yet marked as solved
1 Replies
913 Views
I was trying out SiriKit Media Intents and found that with iOS 14, Media Intents can be handled in-app instead of using an extension. Given my current project structure, in-app intent handling suits my purpose better than handling it in an extension. But my question is about how this intent will be handled in a watchOS app? Is in-app Intent Handling supported on watchOS as well (if yes, are there any examples that I can refer to)? If not, can I create an extension for Media Intents and trigger it for watchOS while triggering the in-app handling for iOS alone? Please share if I have missed to read through some documentation / reference that solves this problem.
Posted Last updated
.
Post not yet marked as solved
2 Replies
609 Views
I have a WatchOS app that uses Push Navigation. I statrted to make a change this morning (Xcode 15.0, watchOS10), and discovered that the look of Push Navigation has changed dramatically. Instead of a back arrow "<" and title in the upper left corner, there is now a larger "<" in a dim circle, and the title is right-justified under the clock, with some background transparency. See attached image for a "old vs. new" comparison. In several cases, this isn't a problem, but I have some scenes in my app that require just about every bit of real estate of the screen, and now the UI loses a significant amount of room at the top. Does anyone know if there's a way to force the old behavior? If not, I may need to do some significant jiggering of my user interface!
Posted
by MowinMan.
Last updated
.
Post not yet marked as solved
0 Replies
281 Views
Ive got a little animation on the first screen on my watchOS app, but in watchOS 10.1 it's not showing up. It docent work. I can't use the simulator to find out why because I haven't got watchOS 10.1 simulator. - here is the code that works on watch OS 10 func updatCurrentProgress() { print("updatCurrentProgress") withAnimation(.interpolatingSpring(duration: 1.2, bounce: 0.0, initialVelocity: 0.0).delay(0.5)) { currentProgress = tiyowehSession.currentDayGoalComplete } completion: { if customGoalValue > 0 && UserDefaults.standard.double(forKey: "currentDayGoalComplete") < 1.0 && tiyowehSession.currentDayGoalComplete >= 1.0 { WKInterfaceDevice.current().play(.notification) print("playing .success)") goalProgressViewOpasity = 0.0 goalCompleteTickOpasity = 1.0 withAnimation(.easeOut(duration: 2.0).delay(1.2)) { goalCompleteTickOpasity = 0.0 goalProgressViewOpasity = 1.0 } } UserDefaults.standard.set(currentProgress, forKey: "currentDayGoalComplete") } } . The sound plays correctly "WKInterfaceDevice.current().play(.notification)" but the opacity docent change like it used to.
Posted Last updated
.
Post not yet marked as solved
8 Replies
19k Views
My Parent app IS signed correctly. I have verified in every screen. Has anyone seen this?Thanks!XCode 10.0 beta 6---------------error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's. Embedded Binary Signing Certificate: Software Signing Parent App Signing Certificate: - (Ad Hoc Code Signed)
Posted Last updated
.
Post marked as solved
2 Replies
384 Views
have a watchOS app and it’s iOS counterpart in the AppStore. For now, my app support iOS 15 and watchOS 8. The next version will make a huge step forward and only supports iOS 17 and watchOS 10. I have a question : If someone has an iPhone on iOS17 and a watch on watchOS 8, will the AppStore update the app ? It will be incompatible as the new iOS app won’t work with the old watchOS one. I hope the AppStore won’t propose the update in this case to avoid impacting users with a modern iPhone and an old Apple Watch who can continue with the previous app version. What’s your advice ?
Posted
by rbart.
Last updated
.
Post not yet marked as solved
27 Replies
4.3k Views
Since the iOS 17 beta 6 update, my SwiftUI-based watch app, which serves as a companion to the phone app, no longer receives any location updates. Even though the permissions are set to 'When In Use' on the phone, the CLLocation delegate returns the following error every time the app requests a location update: Error Domain=kCLErrorDomain Code=1 "(null)" - The operation couldn’t be completed. (kCLErrorDomain error 1.) Additionally, the SwiftUI map does not display the user's location, indicating that the issue is not related to my CLLocationManager implementation on the watch. While debugging on the watch, I observed that the service acknowledges the permissions as granted. On the phone, my location is displayed accurately. On watchOS 9.6, the same watch app receives location updates as expected. Furthermore, other apps on the watch receive location updates accurately, even on watchOS 10 beta. This issue is not isolated to my device; my colleagues have experienced the same problem with the TestFlight build. I suspect that there may be an issue with my project configuration, although I am unsure why this was not a problem before the watchOS 10 beta. Currently, I am attempting to resolve the issue using: Xcode 15.0 beta 8 (15A5229m) watchOS 10 21R5349b iOS 17 21A5326a It is important to note that the issue is also present in watchOS 10 21R5355a.
Posted
by OlKir1143.
Last updated
.
Post not yet marked as solved
7 Replies
2.6k Views
In WatchOS 6 a presented .sheet could be dismissed by swiping down or tapping on the navigationBarTitle. In the WatchOS 7 beta, presented sheets are no longer dismissible by either method...forcing the addition of a button to dismiss. It appears as if .sheet is now acting as .fullScreenCover within WatchOS 7. Anyone else running into this? Wondering if this is now expected behavior on WatchOS or if it's a bug...
Posted
by Eboles.
Last updated
.
Post not yet marked as solved
4 Replies
1.1k Views
Does anyone know how to tie the new Watch Series 9 double tap feature to a button and also how to test double tap gesture in the simulator? Thanks.
Posted Last updated
.
Post not yet marked as solved
0 Replies
183 Views
I would like to create an app that allows iOS and watchOS apps to exchange data in both directions, but I can't find instructions on how to do this anywhere. I would like to know how to do this in detail. import SwiftUI import WatchConnectivity struct ContentView: View { @State private var receivedMessage: String = "No message received" @ObservedObject private var sessionDelegate = SessionDelegate() var body: some View { VStack { Text(receivedMessage) .padding() Button("Receive from iPhone") { sessionDelegate.sendMessageToiPhone() } } .onAppear { // WatchConnectivityセットアップ sessionDelegate.setupWatchConnectivity() } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } } class SessionDelegate: NSObject, ObservableObject, WCSessionDelegate { @Published var receivedMessage: String = "No message received" func setupWatchConnectivity() { if WCSession.isSupported() { let session = WCSession.default if WCSession.isSupported() { let session = WCSession.default // デリゲートを設定 session.delegate = self // セッションのアクティベーション状態を確認し、非アクティブな場合にアクティベートする if session.activationState != .activated { session.activate() } // セッションのその他の設 if WCSession.default.activationState == .activated { // セッションがアクティブ // ここでセッションがアクティブな場合の処理を実行 print("アクティブ") } else { // セッションがアクティブでない // ここでセッションがアクティブでない場合の処理を実行 print("アクティブない") } } session.delegate = self if session.isReachable { session.sendMessage(["messageKey": "Initial message"], replyHandler: nil, errorHandler: { error in print("Error sending initial message to iPhone: \(error.localizedDescription)") }) } } } func sendMessageToiPhone() { if WCSession.default.isReachable { WCSession.default.sendMessage(["messageKey": "Request from Watch"], replyHandler: nil, errorHandler: { error in print("Error sending request to iPhone: \(error.localizedDescription)") }) } } // WCSessionDelegate メソッド func session(_ session: WCSession, activationDidCompleteWith activationState: WCSessionActivationState, error: Error?) { // セッションのアクティベーションが完了したときの処理 } func session(_ session: WCSession, didReceiveMessage message: [String : Any]) { if let receivedMessage = message["messageKey"] as? String { DispatchQueue.main.async { self.receivedMessage = receivedMessage } } } } I wrote the above code in contentView.swift in watchOS, but the session was not activated. I wonder if this is the cause.
Posted
by seiya7228.
Last updated
.
Post not yet marked as solved
0 Replies
503 Views
I'm experiencing an issue trying to install the 'mirroringworkoutssample' app from the official Apple documentation on my Apple Watch. When attempting a direct installation from the Apple Watch, I receive an error stating, "Cannot install this app due to an inability to verify its integrity." Has anyone else encountered this problem or can provide any solutions or insights? ** I have a 'Development' type certificate that allows for watchOS(it includes iOS, tvOS ..) development. ** also added WKCompanionAppBundleIdentifier com.example.apple-samplecode.MirroringWorkoutsSample7C76V3X7AB.watchkitapp
Posted
by hhajime.
Last updated
.
Post not yet marked as solved
0 Replies
371 Views
Related to this thread https://developer.apple.com/forums/thread/737819 I can confirm (again) that GPS performance on the watch Ultra (and likely all watches on watchOS 10) had been severely degraded. Here is a swim that I did with both an Apple Watch Series 4 on watchOS 9 (green track) and a watch Ultra on watch OS 10.1 (blue track). While the Series 4 provides relatively accurate data, the Watch Ultra provides very poor data with criss crossing paths and ridiculous data points. Apple did respond to my feedback with the usual request for sysdiagnose but this has not progressed. FB13192409
Posted
by visskiss.
Last updated
.
Post marked as solved
1 Replies
622 Views
I am able to create a UIImage from webP data using UIImage(data: data) on iOS and iPadOS. When I try to do this same thing on watchOS 10, it fails. Is there a workaround to displaying webp images on watch os if this isn't expected to work?
Posted
by msdrigg.
Last updated
.
Post not yet marked as solved
2 Replies
594 Views
I'm developing my app for WatchOS 10 with Xcode 15.0.1. I'm trying to make a complication with WidgetKit (SwiftUI) to make it easier the user to launch the app. I'm using a simple and small image 50x50px to test it first. But when I try to add to the Watch Face, it show a gray circle like there is nothing there. But when i'm editing the Watch Face it show the image :/, like the image bellow: And another problem is when is Accent mode, it fills the image with a gray color, as the image above shows it. I tryed to add monochrome png image with the alpha-channel, but even that didn't worked too. And my code is simpler has that: var body: some View { Image("Cat") } Someone is facing this same problem? Has any possible solution.
Posted
by targon.
Last updated
.
Post not yet marked as solved
1 Replies
309 Views
I recently bought an Iphone 15 Pro and own apple watch series 3. I just wanted to post about how throughly disappointed I am with the apple watch software. There has been numerous problems trying to synch my watch to the new phone. Error messages are so unintuitive. Finally I updated to watchOS 10. Still wasn't easy, but finally got it done. You guys make it so easy for everything, except the watch watchOS 10 is really doing weird stuff. I was supposed have many watch faces but can't scroll through them. The phone is supposed to unlock with my Iphone but it isn't. Every time I look at it it wants a passcode. I can't add my credit card to my wallet in the watch and error messages won't even tell me why. To name a few. Have you guys given up old the old watch series or what?
Posted
by ozzy2001.
Last updated
.
Post not yet marked as solved
0 Replies
444 Views
Hi, I am getting an error in the preview section for the watchOS application. But it works when I build it. I get the like following errors in Preview. How can I solve it? no such module 'QuartzCore' Compile RoundedCorners.swift (arm64): /Users/msy/Library/Developer/Xcode/DerivedData/TestApp-gkorwbacqzvxvgcmrpdkaxfxnnmu/SourcePackages/checkouts/lottie-ios/Sources/Private/CoreAnimation/Animations/CAAnimation+TimingConfiguration.swift:4:8: error: no such module 'QuartzCore' import QuartzCore ^ Compile Shape.swift (arm64): /Users/msy/Library/Developer/Xcode/DerivedData/TestApp-gkorwbacqzvxvgcmrpdkaxfxnnmu/SourcePackages/checkouts/lottie-ios/Sources/Private/CoreAnimation/Animations/CAAnimation+TimingConfiguration.swift:4:8: error: no such module 'QuartzCore' import QuartzCore ^ Compile LottieAnimationView.swift (arm64): /Users/msy/Library/Developer/Xcode/DerivedData/TestApp-gkorwbacqzvxvgcmrpdkaxfxnnmu/SourcePackages/checkouts/lottie-ios/Sources/Private/CoreAnimation/Animations/CAAnimation+TimingConfiguration.swift:4:8: error: no such module 'QuartzCore' import QuartzCore ^ Copy FirebaseAnalyticsSwift.swiftmodule (arm64): error: /Users/msy/Library/Developer/Xcode/DerivedData/TestApp-gkorwbacqzvxvgcmrpdkaxfxnnmu/Build/Intermediates.noindex/Previews/TestApp Mobil Watch App/Intermediates.noindex/Firebase.build/Debug-watchsimulator/FirebaseAnalyticsSwift.build/Objects-normal/arm64/FirebaseAnalyticsSwift.swiftmodule: No such file or directory (in target 'FirebaseAnalyticsSwift' from project 'Firebase')
Posted
by themsy.
Last updated
.
Post not yet marked as solved
19 Replies
21k Views
I'm using Xcode 12 beta 3. When running my Apple Watch's target on WatchOS 7, I get this error: Warning: Error creating LLDB target at path '/Users/evan/Library/Developer/Xcode/DerivedData/audigo-cneguthkmmoulfgcprsazbryrlrl/Build/Products/Debug-watchsimulator/AudigoWatchApplication.app'- using an empty LLDB target which can cause slow memory reads from remote devices. I know this error use to be when running 32 bit frameworks on 64 bit devices, but I'm not doing that. Is this a bug? Or is there a setting I don't know of that needs to be updated?
Posted
by iEvanC.
Last updated
.
Post not yet marked as solved
1 Replies
224 Views
Xcode 15 can not download symbols for watchOS 6.3 (17U208). It shows "Failed - Failed with HTTP status 403: forbidden". Detail information are as followings. Failed with HTTP status 403: forbidden Domain: DataGatheringNSURLSessionDelegate Code: 1 User Info: { DVTErrorCreationDateKey = "2023-10-17 14:42:34 +0000"; } -- System Information macOS Version 14.0 (Build 23A344) Xcode 15.0 (22265) (Build 15A240d) Timestamp: 2023-10-17T22:42:34+08:00 code-block I clean ~/Library/Developer/Xcode/DerivedData, ~/Library/Developer/Xcode/watchOS DeviceSupport, and also also clean (com.apple.dt.Xcode) folders/files in ~/Library/Caches, but got same error. may I know where to download the symbols for watchOS 6.3 (17U208) ? LR
Posted
by LRLin.
Last updated
.