how to solve: ld: library not found for -lXYZ
来源:互联网 发布:淘宝流量接单任务平台 编辑:程序博客网 时间:2024/06/15 21:33
Xcode 链接的时候报错 形式如 ld: library not found for -lXYZ,其中XYZ时静态库的名字
解决方法:删除后再重新添加。
如果提示framework 找不到,也可以先删除后再重新添加。
It means you are trying to link to a library which is not found by the system. In your case that appears to be a simple static library. You should check the following:
- Look for the corresponding item in red among your project files, with special attention to the Frameworks group (that's where people normally put libraries). If you find one, fix the path or just remove and re-add the library manually.
- Repeat this in the Link Binary with Libraries entry under the Build Phases tab in the project/target settings.
- Check the Library Search Paths entry in the Build Settings tab in project/target settings. Make sure the path to your
libXYZ.a
file is listed there.
0 0
- how to solve: ld: library not found for -lXYZ
- ld: library not found for -lz
- ld: library not found for -lYixinSDK
- 问题:ld: library not found for -lcurl
- ld: library not found for -lPods- -AFNetworking
- ld: library not found for -lAFNetworking
- ld: library not found for -lAFNetworking
- ld: library not found for -lPods 解决方法
- ld: library not found for -lPods
- ld: library not found for -lAFNetworking
- ld: library not found for -lAFNetworking
- "ld: library not found for -l...."
- ld: library not found for -lPods
- ld: library not found for -lopencore-amrnb
- ld: library not found for -lAFNetworking
- ld: library not found for 解决
- ld: library not found for -lgcc_s.10.5错误的解决
- "ld: library not found for -lz.1.2.3"的问题解决
- PMC推出Smart系列解决方案 提供高效数据中心连接
- Leetcode 经典题目题解
- 一篇文章学会springMVC
- POJ 3280 解题报告
- ARC forbids explicit message send of release-关闭xCode项目的ARC设 此博文包含图片 (2012-12-17 22:28:59)
- how to solve: ld: library not found for -lXYZ
- POJ 2828 buy tickets 线段树
- 深入探讨 Java 类加载器
- 大龄程序员的未来在何方
- IOS开发中的CGFloat、CGPoint、CGSize和CGRect
- 教你修改firebug的字体和大小
- CSS学习笔记
- 自定义不等高cell的storyboard方法
- 数据刷新