AuthorizationCenter.shared.$authorizationStatus Published unable track changes to your app's authorization status

  /// let cancellable = center.$authorizationStatus
    /// .sink() {
    ///     switch center.authorizationStatus {
    ///     case .notDetermined:
    ///         // Handle the change to notDetermined.
    ///     case .denied:
    ///         // Handle the change to denied.
    ///     case .approved:
    ///         // Handle the change to approved.
    ///    }
    /// }

But when I went to set the change permissions,unable track changes to your app's authorization status

UP. Is there any solution to make this work?

AuthorizationCenter.shared.$authorizationStatus Published unable track changes to your app's authorization status
 
 
Q