Completion closure for authorization status is not getting called on macOS 11. The same code works without any issues on iOS:
So for iOS I see the permission prompt to access AppleMusic/Music like "[App] would like to access Apple Music, your music and video activity, and your media library"
But for macOS closure never got executed. I wonder if thats the issue with documentation and it not will be supported for macOS apps or with implementation? But there is a separate section for apple music permission on macOS 11. What am I missing?
Xcode 12 beta 3
macOS 11 (20A5323l)
Link to docs: https://developer.apple.com/documentation/storekit/skcloudservicecontroller/1620609-requestauthorization?changes=latest_minor
Code Block swift static func requestAccess(_ completion: @escaping(Bool) -> Void) { SKCloudServiceController.requestAuthorization { (status) in switch status { case .authorized: completion(true) case .denied, .notDetermined, .restricted: completion(false) @unknown default: completion(false) } } }
So for iOS I see the permission prompt to access AppleMusic/Music like "[App] would like to access Apple Music, your music and video activity, and your media library"
But for macOS closure never got executed. I wonder if thats the issue with documentation and it not will be supported for macOS apps or with implementation? But there is a separate section for apple music permission on macOS 11. What am I missing?
Xcode 12 beta 3
macOS 11 (20A5323l)
Link to docs: https://developer.apple.com/documentation/storekit/skcloudservicecontroller/1620609-requestauthorization?changes=latest_minor