spotify/ios-sdk

Session Manager fails to initiate session since updating to XCode 15.2

Opened this issue · 0 comments

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.