Questions tagged [cocoalibspotify-2.0]

CocoaLibSpotify is an Objective-C wrapper around Spotify's libspotify library. It provides easy access to libspotify's features in a friendly, KVC/O compliant Objective-C wrapper.

CocoaLibSpotify is a wrapper of libspotify for Objective-C.

The library provides a base implementation that takes care of a great deal of boilerplate for you, including with memory management of libspotify pointers and maintaining a background thread to keep your application running responsively.

148 questions
8
votes
1 answer

Xcode Archive won't find header file in subproject

So frustrated with XCode right now. I can build and run from code perfectly fine. However, trying to archive is a disaster. I created a project, then dragged the .xcodeproj into XCode on the project navigator. Shows up fine, cool. Parent project…
LyricalPanda
  • 1,424
  • 14
  • 25
8
votes
2 answers

Background Audio with cocoalibspotify

I've properly enabled background audio for my app (in the plist). Playing the next track after the current is complete using SPPlaybackManager in the background (when the phone is locked/off) doesn't work. When the current track ends, and the audio…
devinross
  • 2,816
  • 6
  • 34
  • 34
7
votes
1 answer

How do I audio crossfade using cocoalibspotify?

I'd like to crossfade from one track to the next in a Spotify enabled app. Both tracks are Spotify tracks, and since only one data stream at a time can come from Spotify, I suspect I need to buffer (I think I can read ahead 1.5 x playback speed) the…
Dave Norfleet
  • 409
  • 3
  • 14
5
votes
2 answers

SPLoginViewController to remember credentials

In CocoaLibSpotify, how do I get SPLoginViewController to store credentials, so users later can login automatically via [[SPSession sharedSession] attemptLoginWithStoredCredentials:]?
John Anthony
  • 405
  • 1
  • 5
  • 17
4
votes
1 answer

Spotify SDK player not working: Error Domain=com.spotify.ios-sdk.playback Code=1 "The operation failed due to an unspecified issue."

I am currently developing an iOS app to login to my Spotify account and play songs in there. This is my code: import UIKit import AVKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate, SPTAudioStreamingDelegate { var…
Chika
  • 41
  • 3
4
votes
0 answers

CocoaLibSpotify: CGContextSetBlendMode: invalid context

when I download the CocoaLibSpotify sample projects and start them in the ios simulator everything works fine. When I open them on my iPhone 5 (iOS 7.0) I get following error message, when I try to paste my Facebook password (via long-press). Also…
Alexander Scholz
  • 2,100
  • 1
  • 20
  • 35
4
votes
1 answer

How to clear username and password on CocoaLibSpotify logout?

I'm using the CocoaLibSpotify library to develop an iOS application that will utilize the Spotify API. I've got it just about where I want it, but I've run into a bit of a problem. When the user touches my "Logout of Spotify" button, I execute the…
3
votes
1 answer

AudioKit access to underlying CoreAudio nodes (Spotify integration)

I'm trying to connect to Spotify stream and modify the output with custom synthetizer. It would be great to use the awesome AudioKit. In order to alter the output Spotify stream I have to implement this method, which gives me access to the spotify's…
3
votes
1 answer

Spotify API to Swift

May be a simple question, but I am trying to use Spotify's API which is documented in Objective C but I have been working on it in Swift as far as I can. @property (nonatomic, readonly, copy) NSArray *genres is one of their API protocols for the…
3
votes
1 answer

iOS App Rejection related to Spotify new library

We have a Spotify based app that uses the latest libspotify library. https://github.com/spotify/cocoalibspotify The app was rejected by Apple for not following data storage guidelines. Below is the information: In particular, we found that on…
3
votes
3 answers

libspotify causing Apple App store rejection

Looks like Apple has tightened app store submissions staring May 1. I have an app that uses Spotify and have been accepted into the App Store multiple times. On a recent update, the app was rejected for the following reasons... Non-public API…
Steve Yung
  • 68
  • 5
3
votes
0 answers

adding CocoaLibSpotify

I'm having trouble adding CocoaLibSpotify to my IOS XCode project... Dowloaded cocoalibspotify-master Ran CocoaLibSpotify iOS Library successfully (sample projects also run successfully)... trying to generate the libCocoaLibSpotify.a file? Added…
joshb
  • 63
  • 4
3
votes
1 answer

pause the running track

I'm not able to pause the track. both -playing property on SPSession & -setIsPlaying property on SPPlaybackMAnager already provides this functionality but it all cause to stop a song not pause the song. What should I do to pause the running track?
Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34
2
votes
1 answer

spotify play song without login using API on iPhone

I want to develop application where i can listen songs from spotify without login into it.like we search from soundcloud and play it. i had implemented API for searching tracks…
Janak LN
  • 138
  • 2
  • 15
2
votes
1 answer

Getting "Invalid Client" from com.spotify.auth with Spotify ios-sdk6

I am trying to follow the basic tutorial provided by Spotify here, but I am getting the following error when I try to authenticate: 2014-12-20 15:32:18.526 SpotifyTest[18319:53463120] *** Auth error: Error Domain=com.spotify.auth Code=400 "Invalid…
1
2 3
9 10