The Spotify iPhone app I was working on, was running fine, but now I keep on getting this error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSURL urlWithSpotifyLink:]: unrecognized selector sent to class 0x1e7621c
Any ideas?
Thanks!
As mentioned in the CocoaLibSpotify readme, you need to add the -ObjC
and -all_load
flags to the "Other Linker Flags" build setting in Xcode.
-force_load
for just spotify, see: http://stackoverflow.com/a/5095793/19389 - bendytree 2012-10-23 23:58