Xcode Linker Error 4.2 Library Not Found -lFlurryAnalytics

enter image description here

I get this error when trying to build my project. I have a paid / free version, the paid version works fine with the same library. However, for some reason, the free version has a hard time encountering the Flurry Analytics library, which is the same file version as the paid application. I added it by going to "Add"> "Existing frameworks" ... Add "Other" and viewed in the library in the paid applications folder. I'm not sure what else to try. I made sure that the project parameters between the paid and free versions are identical. I tried to handle this file locally, I have googled and googled, and I do not understand.

using Xcode 4.2 with iOS 5

Thanks in advance.

+4
source share
3 answers

Check if the library is added in TARGETS -> Link Binary With Libraries. Mostly it will be, but the wrong version. If you change the version of iOS, you must also change the binary. e.g. libz.1.dylib is in the iOS7 binary connection. But if you upgrade to iOS9.1, you need to remove libz.1.dylib and add one of iOS9.1 libz.1.tbd

0
source

it is most likely not on the ld search path list. either qualify the path, or add its parent list to the list of directories to search for ld.

+1
source

We simply could not create a project after upgrading to Xcode 4.2. In our case, the error was:

ld: library not found for -lz.1.2.3 Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1 

It turns out that this particular SDK library has changed versions, and the file we pointed to is no longer included in the latest distribution.

To fix this, I clicked on the libz.1.2.3.dylib entry in the Project Xcode navigation bar. (It was highlighted in red because its path was incorrect.) Next, on the Xcode Utility panel, on the File Inspector tab, I clicked on the Select File icon under the Location list, which is set to Relative to SDK . I went to / Developer / Platforms / iPhoneOS.platform / Developer / SDKs / iPhoneOS5.0.sdk / usr / lib / and found that libz.1.2.3.dylib does not exist, so I selected the latest version of libz.1.2.5 .dylib.

0
source

All Articles