2

CocoaLibSpotify fails compilation in XCode 6.5 Preview 2 / iOS 6.1 SDK with this error:

/LibSpotify/spotify-cocoalibspotify-a6c2579/iOS Library/../common/SPImage.m:55:65: error: strong property 'session' may not also be declared __unsafe_unretained @property (nonatomic, readwrite) __unsafe_unretained SPSession *session; ^ 1 error generated.

Is there a safe work-around?

Nik Reiman
  • 39,067
  • 29
  • 104
  • 160
avive
  • 361
  • 2
  • 10

1 Answers1

4

Sorry about that — I just pushed a fix to the dev branch to the CocoaLibSpotify repository on GitHub.

The fix is to remove the assign part of the session property declaration in SPImage.h.

iKenndac
  • 18,730
  • 3
  • 35
  • 51