isMagnetometerAvailable returns FALSE on series 5 watch

Originator:Andp92
Number:rdar://FB7667411 Date Originated:17 April 2020
Status:Open Resolved:
Product:Apple Watch Product Version:5
Classification: Reproducible:Always
 
The issue is easy to be reproduced.

Given an Apple Watch Series 5

1) Create an Xcode project
2) Standalone Watch OS app
3) import CoreMotion
4) Initialise a CMMotionManager instance and retain the object
5) Add the following code inside a function
let isAvailable = motionManager.isMagnetometerAvailable
print(isAvailable)
5) Launch the app on the watch.
6) isAvailable returns false whereas it should return true on the Apple watch series 5

The documentation says that the API is available from watchOS 2.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!