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

56 questions
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…
2
votes
2 answers

"Missing architecture. Apps built with Watch OS 5.0 and later SDKs must contain additional architectures."

When I am trying to upload the app to appstoreConnect, it fails with below error: ERROR ITMS-90733: "Missing architecture. Apps built with Watch OS 5.0 and later SDKs must contain additional architectures. the iOS version: iOS 10 the WatchOS…
2
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
  • 46,408
  • 55
  • 231
  • 407
2
votes
1 answer

CMSensorRecorder is not authorised, but I am never prompted to give authorisation?

I'm making an app that will record user acceleration for a duration on the Apple Watch and send that data to the paired iPhone. I'm using the CoreMotion framework to achieve this. My issue: I've been using a CMSensorRecorder object to record the…
Bryan
  • 753
  • 1
  • 6
  • 12
2
votes
1 answer

transferCurrentComplicationUserInfo is unavailable for WCSession?

This is as straightforward as is sounds; when I try to use session.transferCurrentComplicationUserInfo(_:), I get the error message written in the title, word for word. Looking at the documentation (transferCurrentComplicationUserInfo, WCSession)…
Philip S
  • 502
  • 6
  • 18
2
votes
0 answers

iOS WatchOS5 - how do I determine the size of the WatchOS complication from the phone?

I'm looking at this video on developing complications for the apple watch and this size chart of watch complication sizes. Currently I have my phone generate a full screen complication image on the phone and push it to the watch using background app…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
2
votes
1 answer

Cannot get Core Motion Updates using watchOS 5: "[Gyro] Manually set gyro-interrupt-calibration to 800"

I am trying to get Core Motion data from an Apple Watch 3 (WatchOS 5.1) but although the DeviceMotion is available (isDeviceMotionAvailable property is true), the handler is never triggered. I get the following message in the console right after…
jiko
  • 146
  • 1
  • 9
2
votes
3 answers

Missing architecture. Apps built with Watch OS 5.0 and later SDKs must contain additional architectures

ERROR ITMS-90733 The WatchApp target is using “armv7k” under valid architectures; and the WatchApp Extension is using both “armv7k” and “i386” under valid architectures. When I build and try to deploy and build to the AppStoreConnect, I get the…
mhamdouchi
  • 21
  • 6
2
votes
1 answer

WatchOS 5 How to test complications in future times in WatchOS 5 as Time Travel has been removed?

I have implemented the code for complications in my app and it seems to work fine for current day. I would like to test how the complications would change overtime in future and past. Time Travel feature has been removed in WatchOS 5, so I am…
2
votes
1 answer

Attempting to start HKLiveWorkout keep getting unexpectedly found nil on session

Im trying to make a workout app where the user's heart rate is being displayed on the Apple Watch. I've been following Apple's WWDC "New Ways to Work with workouts" vide. Here's the link…
Aligator
  • 111
  • 8
2
votes
0 answers

setup MPRemoteCommandCenter in watchOS Now Playing with WKAudioFilePlayer

I'm working on an app that play audio in Apple Watch; All working fine from inside the app. I'm trying to setup the MPRemoteCommandCenter in 'Now Playing' to change the next/prev track to skipForward/skipBackward and to add a handler for the pause…
Ahmad
  • 251
  • 2
  • 8
2
votes
1 answer

WatchOS5 - how to debug an apple watch app?

I'm brand new to watchOS development - have my first app and extension. I have the following questions: Are breakpoints available for watch OS extensions and apps? I set them, but they don't seem to trigger Does the app fail to appear on the watch…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
1
vote
0 answers

Create Long length Haptic in iWatch swift

Hi i am aware that apple does not allow us to create core haptic in iWatch instead it make us to use the default haptic it has. But the default haptics are of short length. Can I get help to know how to create long length haptic. Like it should last…
Supreet Patil
  • 21
  • 1
  • 4
1
vote
1 answer

Programmatically add a border to WKInterfaceGroup - Solved

Is it possible to give a WatchKit table cell or WKInterfaceGroup a border width of 2px and a red border color? If not, are there any work-arounds?
DataZombies
  • 416
  • 6
  • 19
1
vote
1 answer

How to keep an Apple Watch app running when watch is charging

I'm making an Apple Watch app to record user acceleration. Currently, the user configures the session length to record for, and using a HKWorkoutSession, the app records acceleration for that time period. My issue: I want the user to be able to…
Bryan
  • 753
  • 1
  • 6
  • 12