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

55 questions
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
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
  • 743
  • 1
  • 5
  • 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
  • 422
  • 6
  • 16
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
  • 41,555
  • 51
  • 213
  • 379
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
  • 109
  • 1
  • 7
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
  • 23
  • 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
  • 89
  • 7
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
  • 231
  • 2
  • 7
2
votes
1 answer

WatchOS5 - what is the "Graphic rectangular" complication image size?

I'm looking at this list of complication images for WatchOS5 by Apple, it mentions template for the graphic rectangular complication on 44mm watch being 342px × 108px (171pt × 54pt @2x) I tried sending 342x108 image, and it is too large - it…
Alex Stone
  • 41,555
  • 51
  • 213
  • 379
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
  • 41,555
  • 51
  • 213
  • 379
2
votes
0 answers

iOS WatchKit app fails to install when running from Xcode - WCSession counterpart app not installed - how to fix?

I'm looking at this example of using watch connectivity by Apple I've configured the app group and app identifiers, and the app compiles and runs on my phone, and a loading indicator appear on the watch. However, the app never appears on the…
Alex Stone
  • 41,555
  • 51
  • 213
  • 379
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
  • 382
  • 5
  • 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
  • 743
  • 1
  • 5
  • 12
1
vote
0 answers

SIP library for watchOS 5 development kit

In my case, I need to make an in-house communication system using Apple watches ( watch to watch, using WiFi only). There I'm planning to use SIP protocol for voice communication *And already found the SIP Library linphone-swift-demo And it is not…
HomiFox
  • 83
  • 5