MusicKitPlayer icon indicating copy to clipboard operation
MusicKitPlayer copied to clipboard

SKCloudServiceController's requestusertoken not working

Open lookdeceline opened this issue 5 years ago • 2 comments

@simonng Thank you for the awesome tutorial! It has been the most helpful!!

I am currently stuck at getting user token via SKCloudServiceController's requestusertoken method. I have been following everything from your article exactly the same. However, my cloudServiceController.requestUserToken closure does not even get called. The request does not even return any errors! Just never gets called.

Any suggestions on how to resolve this??

lookdeceline avatar Oct 31 '20 15:10 lookdeceline

I faced the same problem today. I downloaded the completed project and added my developer token, but the app hangs. DispatchSemaphore seems to be the cause of this. If anyone's reading this, I found a working code over here - https://github.com/canalun/MusicKitPlayer

rudrankriyam avatar Apr 05 '21 20:04 rudrankriyam

For anyone stuck in using semaphore, this solution would help.

dykderrick avatar May 05 '22 07:05 dykderrick