Getting started with the Spotify iOS SDK
Vložit
- čas přidán 13. 07. 2024
- In this video we look at how to incorporate the Spotify SDK into your Swift iOS app. We cover how to:
- Register a Spotify Developer App
- Create a simply iOS that connects to Spotify
- Configure the iOS app to work with Spotify
- Run on a physical device
0:00 Intro
0:42 Demo
1:25 Overview
2:43 Creating a developer app
4:10 Create new iOS app
6:38 ObjC flag
7:20 Bridge header
8:25 Info.plist
14:19 Building the app
16:44 Authorization
21:45 Physical device
🤖 Source code
github.com/jrasmusson/swift-a...
🕹 Level up further with these awesome courses
Professional iOS Development
www.udemy.com/course/the-swif...
Data Structures & Algorithms
www.udemy.com/course/the-swif...
Level Up in AutoLayout
www.udemy.com/course/level-up...
Level Up in Swift
www.udemy.com/course/level-up... - Věda a technologie
Is it possible you make this tutorial for SwiftUI as well?
Oh man am I glad I found your channel! Thank you for making this, so helpful. Also, huge props to actually giving the demo upfront, not enough people do that.
Thank you sooooooo much! You posted this at the perfect time. Without this I wouldn't have been able to start my final project for my junior cs class
You are very welcome zonever. Glad I could help.
The complete easy step by step walkthrough I've ever seen. thanks for amazing job.
What a great resource! thanks for sharing it
Thanks a Lott for the tutorial, I'm glad that I found you man.
Amazing work
This video helped SO much. Thank you a ton! Was wondering why my setup wasn't working (I did not setup my info.plist properly and was missing the part where I have to send the code to Spotify in order to retrieve the access token). Your video not only solved my problems, it also taught me a lot about the process too. Very grateful I came across this video
Great to hear Rehan. I had the same problem. Cheers!
thank you
Oh, your later videos actually look nice 😎 My harsh advice must have work backwards through time 😱
Cool as usual😎
Thanks Denny 🕹 :)
Hi, thank you for this video! I have created the application in SwiftUI format and it runs on my iPhone! I am having an issue however as once Spotify has authenticated my account I am not redirected back to my App. Just wondering if you had any ideas why this might be happening? Thanks
Great video! Super clear and easy to follow! Is there any way you can make a video on how to do table views for top artists and songs?
Thank you Domenic. No promises. But I will see what I can do. Cheers.
I'm a beginner to swift and find this video super helpful in explaining the process using spotify sdk. But I'm wondering if I don't want to connect to the spotify app and want to get response directly from the api using my own account, is that possible?
I want to access all user playlists using ios-sdk in my app, but I can't find a way. Please tell me how to access all user playlists along with their associated song data
I have same problem
dope video. what do you know about Inspector Norse!? Good taste! New Sub.
Hi I'm getting this error" Building for iOS, but the linked and embedded framework 'SpotifyiOS.framework' was built for iOS + iOS Simulator."
Can't we write the whole logic just in my objective C backend logic? I am not using Swift, but Qt framework for the UI, using Objective C native calls in the backend
Hi, I'm building an app with a very similar functionality to this one and almost everything works as expected. I'm having an issue though, if I have my Spotify mac app open and listening from there. My play pause button doesn't work properly if this is the case. Do you know if there's any different configuration we should follow when we chose to listen from different devices?
Hi Micro - the interplay between devices is a real challenge, and even spotify doesn't get this 100% right.You've got computers, speakers, phones, ipads all connecting through wifi and bluetoother, and sometimes it just doesn't update right. I guess what I am trying to say is I am not surprised its a bit flakey for you, and not to expect it to work perfect. If it kind of works, that's about as good as it is going to get. Good luck!
@@swiftarcade7632 Thanks for your input! Appreciate it.
Is it this feature Spotify has closed down the 1. of September 2022?
There is a great blast out on Spotify forums from music teachers and musicians around the globe. I myself have used Spotify/Amazing Slow downer on a daily basis for practising my musical skills. From 1. of September I can’t connect to Spotify anymore. The inventors of this app says it’s due to a closedown of the iOS/Android streaming SDKs from Spotify. Is it this one?
Its really strange, but i just download your app, changed your private info (cliendID & secret) and for me Auth is "X" with "unknown error has occured". Mb your solution is no longer correct, mb some shit is happens
Hello! I guess i found person who can anwser my question. Can i do something about making Spotify working on ios4.2.1 for ipod touch 2g? I mean i can even teach myself to program apps, but i just want to know is its even possible. Best regards, hoping for anwser
Hi! I have followed your wonderful tutorial, although I have stumbled across an error while trying to build the code after importing my Spotify iOS framework.
Build input file cannot be found: '/Users/nj_delg/Library/Developer/Xcode/DerivedData/HelloSpotify1-bvrmrjgnnwhhrlfnmivhvsrmixpy/Build/Products/Debug-iphoneos/HelloSpotify1.app/HelloSpotify1'
Xcode has mentioned that I do not have a build input file within my project folder. Any help would be appreciated. Thank you!