I need access to CMAltimeter in my App.
So of course I need to ask for permission.
And I add the Privacy - Location When In Use Usage Description
and of course Privacy - Motion Usage Description
with an Value in info.plist but the App never asks for Permission and the Authorization Status is always not determined
(Device -> iPhone XR iOS12) and newest Xcode. My Signing in Xcode is only Personal Team with my Apple ID because we only need this for the university. (And till this day I haven't buy the Developer License) The App and CoreMotion runs. (CMDeviceMotion doesn't need permissions)
func myDeviceMotionQFE(){
if CMAltimeter.isRelativeAltitudeAvailable() {
switch CMAltimeter.authorizationStatus() {
case .notDetermined:
print("Altimeter -> NotDetermined")
break
case .denied:
print("Altimeter -> Denied")
break
case .restricted:
print("Altimeter -> Restricted")
break
case .authorized:
print("Altimeter -> Authorized")
}