Code Block SKCloudServiceController().requestUserToken(forDeveloperToken: developerToken) { (receivedToken, error) in print(receivedToken ?? "No Token") print(error) guard error == nil else { return } // the rest of the code that never gets called ... }
It prints this error:
Code Block Error Domain=SKErrorDomain Code=9 "The latest Apple privacy policy has yet to be acknowledged" UserInfo={NSLocalizedDescription=The latest Apple privacy policy has yet to be acknowledged}
And obviously I get no user token.
How do I Acknowledge the latest Apple privacy policy?
I am signed in with my apple Id in my simulator. I can use apple music on my regular iPhone and I can use Apple Music on OS X without Apple asking me to acknowledge Privacy Policy. Is there some way of provisioning user data on the app for testing purposes?