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")
}
 
                        
My initial problem was that
startRelativeAltitudeUpdates(to:withHandler)did not work and was sidetracked by exactly the same problem:CMAltimeter.authorizationStatus()was always.notDetermined.However it turned out that that
CMAltimeterinstance got out of scope and was automatically ARC'ed and the handler not called any more.Summary: There is no
requestAuthorization()forCMAltimeterin IOS12, neither one is needed.