spotify / ios-sdk

Spotify SDK for iOS
https://developer.spotify.com/documentation/ios/
659 stars 187 forks source link

This code doesn't work with the instructions provided. #277

Open shyamalschandra opened 4 years ago

shyamalschandra commented 4 years ago

I created a Heroku instance and placed the URL with the port number 1234 with /swap and /refresh along with the redirect URI to spotify-login-sdk-test-app://spotify-login-callback for both the client and the console for Spotify but nothing works and I get the error code 10814.

2020-08-10 09:01:04.454227-0500 SPTLoginSampleAppSwift[5004:115138] -canOpenURL: failed for URL: "spotify:" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2020-08-10 09:01:04.454685-0500 SPTLoginSampleAppSwift[5004:115270] [default] Failed to open URL spotify-action://authorize?client_id=2159e985138d40b38f6d76f547cbb332&redirect_uri=spotify-login-sdk-test-app://spotify-login-callback&scope=playlist-read-private%20app-remote-control&response_type=code&utm_source=com.shyamalchandra.sdk.SPTLoginSampleApp&utm_medium=com.shyamalchandra.sdk.SPTLoginSampleApp&utm_content=1&nosignup=true&nolinks=true&play_uri=: Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=247, _LSFunction=-[_LSDOpenClient openURL:options:completionHandler:]}
dglaser2 commented 3 years ago

I'm experiencing the same issue

shyamalschandra commented 3 years ago

@dglaser2: Do you know if Spotify supports this ios-sdk repo anymore because basically it boils down to the following:

  1. If it is broken, they should fix it.
  2. If it is not broken, they should provide the proper step-by-step directions.