SpotifyClone
SpotifyClone copied to clipboard
How to login

So i try to login using one of my created Spotify account This happen
2023-03-07 14:59:33.353601+0700 SpotifyClone[14831:2666004] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>
2023-03-07 14:59:33.353668+0700 SpotifyClone[14831:2666004] [ProcessSuspension] 0x1140bc300 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'WebProcess Suspended Assertion' for process with PID=15029, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}
2023-03-07 14:59:34.784421+0700 SpotifyClone[14831:2658531] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2023-03-07 14:59:40.019264+0700 SpotifyClone[14831:2658531] [Security] This method should not be called on the main thread as it may lead to UI unresponsiveness.
2023-03-07 14:59:40.019434+0700 SpotifyClone[14831:2658531] [Security] This method should not be called on the main thread as it may lead to UI unresponsiveness.
2023-03-07 14:59:40.051591+0700 SpotifyClone[14831:2666004] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
2023-03-07 14:59:40.051674+0700 SpotifyClone[14831:2666004] [ProcessSuspension] 0x11401d440 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=15031, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
I added clientid and clientserver I also add a user and access May i ask how can i login from here
Thanks
having the same issue
Same issue for me
Hello, there! Sorry for the late reply.
The problem is that you need to specify the redirect_uri to be the same both in your code and in https://developer.spotify.com/dashboard/.
Do the following:
- Open the Spotify Developer Dashboard
- Select your current project(or create one)
- Select "Edit settings"
- In Redirect URIs, type any website(for the sake of simplicity I recommend:
https://www.github.com) - In your code, in
AuthViewModel.swiftchange theredirectURIto the same website(by default it's set tohttps://www.github.com).