Search code examples
iphonespotifyiphone-5cocoalibspotify-2.0

Linker error in iPhone5 for Spotify


I am implementing Spotify in my iPhone app. In iPhone4 and 4S, it builds and runs fine. But when I connected iPhone5 device and builds, it shows linker error. After disconnecting the device, the build is again success. What may be the reason. Please help me.


Solution

  • In your application's Build Settings, find the "Valid Architectures" setting and remove armv7s from the list. libspotify doesn't include an armv7s architecture yet, but the plain armv7 build will work perfectly fine on the iPhone 5.