Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SKCloudServiceController's requestusertoken not working #1

Open
lookdeceline opened this issue Oct 31, 2020 · 2 comments
Open

SKCloudServiceController's requestusertoken not working #1

lookdeceline opened this issue Oct 31, 2020 · 2 comments

Comments

@lookdeceline
Copy link

@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??

@rudrankriyam
Copy link

rudrankriyam commented Apr 5, 2021

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

@dykderrick
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants