For me also this issue no longer happening. Thanks!
Post
Replies
Boosts
Views
Activity
No, full working code for me is:
import Foundation
import StoreKit
class MusicLibraryAccess {
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)
}
}
}
}
I have a SwiftUI app with shared classes between iOS (14) and macOS (11.0) and this give me this indicator (see on SO since I cannot paste the picture here: https://stackoverflow.com/a/63261158/1317394)
maybe you need to reset your permission on system lvl by: tccutil reset All your.bundle.identifier
It's now working on Xcode 12 Beta 4, but you need to be on macOS Big Sur beta 4 also
It's working on Big Sur Beta 4 and Xcode Beta 4 🤗
This message was about misread release notes in Xcode. Sorry for confusion - unfortunatelly cannot undo accepting answer