ld: warning: directory not found for option 去掉警告的方法
2016-11-02 14:54
483 查看
开发项目中会有一些警告,警告的类型有多种
1.引用苹果不建议使用的API
2.xib中约束设置不恰当
3.类型转换
4.三方库引用
5.没有实现代理方法
6.声明方法在源文件中没有实现
7.使用废弃API
......
这里介绍一种工程中出现提示:
ld: warning: directory not found for option:xxxxxx
这种提示,一般是添加了第三方SDK,但是后来改了个名字或者去掉了SDK,但是在
Build Settings----->Search Paths----->Library Search Paths 中仍然没有删除掉对应的路径,
所以需要到Library Search Paths和Framework Search Paths中删除掉警告的路径
删除之后就完美解决了。
1.引用苹果不建议使用的API
2.xib中约束设置不恰当
3.类型转换
4.三方库引用
5.没有实现代理方法
6.声明方法在源文件中没有实现
7.使用废弃API
......
这里介绍一种工程中出现提示:
ld: warning: directory not found for option:xxxxxx
这种提示,一般是添加了第三方SDK,但是后来改了个名字或者去掉了SDK,但是在
Build Settings----->Search Paths----->Library Search Paths 中仍然没有删除掉对应的路径,
所以需要到Library Search Paths和Framework Search Paths中删除掉警告的路径
删除之后就完美解决了。
相关文章推荐
- ld: warning: directory not found for option 去掉警告的方法
- ld: warning: directory not found for option 去掉警告的方法
- 去掉警告---> ld: warning: directory not found for option
- 去掉xcode编译warning:ld: warning: directory not found for option:xxxxxx 的方法
- xcode 经常出现的警告问题解决方法ld: warning: directory not found for option '-L/Users/
- 解决警告“ld: warning: directory not found for option”
- 解决警告“ld: warning: directory not found for option”
- 解决警告“ld: warning: directory not found for option”
- 解决警告“ld: warning: directory not found for option”
- 解决警告“ld: warning: directory not found for option”
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- 解决警告“ld: warning: directory not found for option”
- Xcode解决警告“ld: warning: directory not found for option”
- 解决警告“ld: warning: directory not found for option”
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- 去掉xcode编译warning:ld: warning: directory not found for option '-L
- ld: warning: directory not found for option 解决方法
- 解决ld: warning: directory not found for option"已删除路径"警告
- 解决警告“ld: warning: directory not found for option”
- iOS解决警告ld: warning: directory not found for option ''