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

Session Manager fails to initiate session since updating to XCode 15.2 #413

Open
Davidorenlane opened this issue Mar 2, 2024 · 1 comment

Comments

@Davidorenlane
Copy link

Davidorenlane commented Mar 2, 2024

As of updating to the latest version of Xcode (15.2), my project using the iOS SDK is broken. When the app attempts to initiate a new Session using the Session Manager Object, it now always fails (calls func sessionManager(manager: SPTSessionManager, didFailWith error: Error)).
baseNSError@0 NSError domain: "com.spotify.sdk.login" - code: 1

I have tried on multiple simulators, tried building and running on my phone, and even redeploying to TestFlight and running from there.

When I try on a new simulator, I thought it was interesting that it does require me to log into my Spotify account, but does not show me the requested access scopes. I successfully log in, am returned to the app, and then didFailWith method is called.

My app in the App Store running (as far as I can tell) the same code works on my device even after a fresh install, and on that of my friends. (https://apps.apple.com/us/app/playlist-maker-for-spotify/id1489280730). I haven't made any changes to my code aside from any changes that may have been made to the project upon updating to XCode.

@asarazan
Copy link

I am also having this issue with Xcode 15.4

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

2 participants