SpotifyClone icon indicating copy to clipboard operation
SpotifyClone copied to clipboard

How to login

Open Hung6129 opened this issue 3 years ago • 3 comments

image image

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

Hung6129 avatar Mar 07 '23 07:03 Hung6129

having the same issue

t8s1n avatar Mar 07 '23 23:03 t8s1n

Same issue for me

romankotko avatar Mar 22 '23 16:03 romankotko

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:

  1. Open the Spotify Developer Dashboard
  2. Select your current project(or create one)
  3. Select "Edit settings"
  4. In Redirect URIs, type any website(for the sake of simplicity I recommend: https://www.github.com)
  5. In your code, in AuthViewModel.swift change the redirectURI to the same website(by default it's set to https://www.github.com).

denoni avatar Mar 25 '23 14:03 denoni