XCode 4.2链接器错误找不到库-lFlurryAnalytics [英] XCode 4.2 linker error Library not found -lFlurryAnalytics

查看:176
本文介绍了XCode 4.2链接器错误找不到库-lFlurryAnalytics的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是尝试构建我的项目时出现此错误。我有一个付费/免费版本付费版本使用相同的库正常工作。但是由于某些原因,免费版本使用Flurry Analytics库很难,这与付费应用程序的文件版本相同。我通过转到添加>现有框架...添加其他并浏览到付费应用程序文件夹中的库来添加它。我不知道还有什么可以尝试我已经确定付费和免费版本之间的项目设置是相同的,我已经尝试在本地处理该文件,我用谷歌搜索和谷歌搜索,我很快就会出现。

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.

使用Xcode 4.2和iOS 5

using Xcode 4.2 with iOS 5

提前致谢。

推荐答案

检查是否在目标中添加了库 - > Link Binary With Libraries。大多数情况下会出现错误的版本。如果您更改iOS版本,您也应该更改二进制文件。
,例如libz.1.dylib是iOS7链接二进制文件。
但是如果你改成iOS9.1你必须删除libz.1.dylib并从iOS9.1中添加一个libz.1.tbd

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

这篇关于XCode 4.2链接器错误找不到库-lFlurryAnalytics的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆