Post not yet marked as solved
Post marked as unsolved with 5 replies, 6,750 views
My app has nothing but this:let SKController = SKCloudServiceController()It is the first line in application(_: didFinishLaunchingWithOptions:)Even with no other code these 5 errors appear in the console:[core] "Error returned from daemon: Error Domain=com.apple.accounts Code=9 "(null)""
SSAccountStore: Failed to fetch the backing accounts. error = Error Domain=com.apple.accounts Code=9 "(null)"
[core] "Error returned from daemon: Error Domain=com.apple.accounts Code=9 "(null)""
SSAccountStore: Failed to fetch the backing accounts. error = Error Domain=com.apple.accounts Code=9 "(null)"
SSAccountStore: Unable to get the local account. error = Error Domain=SSErrorDomain Code=100 "Cannot connect to iTuneHow can I prevent these erros?- The device is logged into Apple Music- The device and app have internet acces- I am in Canada- The errors appear on device (iPhone 7) and in Simulator- Adding the code for SKCloudServiceController.requestAuthorization() and waiting for the authorization to succeed before instantiating SKCloudServiceController makes no difference