Search code examples
iosxcodeios5xcode4.2flurry

XCode 4.2 linker error Library not found -lFlurryAnalytics


enter image description here

I am getting this error when trying to build my project. I have a paid / free version the paid version is working just fine with the same library. However for some reason the free version is having a hard time with the Flurry Analytics library which is the same file version as the paid app. I added it by going to Add > Existing Frameworks... Add Other and browsed to the library in the paid apps folder. I am not sure what else to try I have made sure the project settings between paid and free version are identical, I have tried coping that file locally, I have googled and googled and am coming up short.

using Xcode 4.2 with iOS 5

Thanks in advance.


Solution

  • Check if library is added in TARGETS -> Link Binary With Libraries. Mostly it will be there but wrong version. If you change the iOS version you should change binary as well. e.g. libz.1.dylib is in iOS7 link binary. But if you change to iOS9.1 you have to delete libz.1.dylib and add one from iOS9.1 libz.1.tbd