Xcode报编译器报错: linker command failed with exit code 1(use -v to see invocation)
来源:互联网 发布:sql数据库定时备份 编辑:程序博客网 时间:2024/06/05 09:20
最近换了台新机子,搭环境,拉代码,Xcode编译时工程报警告
ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/...' ld: warning: directory not found for option '-L/...' ld: library not found for -lPods-XXX linker command failed with exit code 1 (use -v to see invocation)
一般来说,这应该是xxx库的连接引用有问题
解决办法
在target -> Build Phases -> Link Binary With Libraries 和 Framework Search Paths中将编译报warning的xxx.a路径删除即解决在target -> Build Settings -> Library Search Paths 中手动添加其路径。
参考:
library not found for -xxx
Xcode遇到Library not found for -xxx问题
阅读全文
0 0
- Xcode报编译器报错: linker command failed with exit code 1(use -v to see invocation)
- Xcode报错: linker command failed with exit code 1 (use -v to see invocation)
- iOS报错:linker command failed with exit code 1 (use -v to see invocation)
- iOS报错:linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)报错
- error: linker command failed with exit code 1 (use -v to see invocation)报错总结
- iOS报错:linker command failed with exit code 1 (use -v to see invocation)解决方法
- iOS 报linker command failed with exit code 1 (use -v to see invocation)错
- linker command failed with exit code 1 (use -v to see invocation)报错
- linker command failed with exit code 1 (use -v to see invocation)报错汇总
- Xcode 报错clang- error- linker command failed with exit code 1 (use -v to see invocation)总结
- xcode换新版本,原来工程编译报错:linker command failed with exit code 1(use -v to see invocation)
- iOS编译报:linker command failed with exit code 1 (use -v to see invocation)
- shareSDKb编译报错:clang: error: linker command failed with exit code 1 (use -v to see invocation)
- error: linker command failed with exit code 1 (use -v to see invocation) 报错的原因
- libWeChatSDK.a 文件编译报错 linker command failed with exit code 1 (use -v to see invocation)
- Xcode错误处理- linker command failed with exit code 1 (use -v to see invocation)
- Xcode提示linker command failed with exit code 1 (use -v to see invocation)解决方法
- 多项式求和
- swift3.0 获取键盘高度,并让UITextView自动随键盘上移
- 【经典例题】编写一个函数,求第n个斐波那契数
- Miller-Rabin随机性素数测试算法
- EXCEL排序 (sort)【HDU】-1862
- Xcode报编译器报错: linker command failed with exit code 1(use -v to see invocation)
- hdu 1398 母函数模板
- 《Java多线程编程核心技术》学习笔记-第一章
- 组合的递归与非递归
- Linux驱动开发---gpio和gpiod
- OpenCV图像处理--为图像添加Logo
- C++primer[习题][第一章][11-20]
- 西安集训第七天-----claris叫你常见的数据结构维护技巧
- 判断Socket断开连接