avive
avive

Reputation: 361

CocoaLibSpotify fails to compile in XCode 4.6 / iOS 6.1

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?

Upvotes: 2

Views: 278

Answers (1)

iKenndac
iKenndac

Reputation: 18776

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.

Upvotes: 4

Related Questions