使cocopods管理开源库编译出现Library not found for -lPods问题的解决方法
2016-06-02 15:20
561 查看
If Xcode complains when linking, e.g.
Library not found for -lPods
, it doesn’t detect the implicit dependencies:
Go to Product > Edit Scheme
Click on Build
Add the
Pods
static library, and make sure it’s at the top of the list
Clean and build again
If that doesn’t work, verify that the source for the spec you are trying to include has been pulled from github. Do this by looking in /Pods/. If it is empty (it should not be), verify that the ~/.cocoapods/master//.podspec has the correct git hub url in it.
If still doesn’t work, check your XCode build locations settings. Go to Preferences -> Locations -> Derived Data -> Advanced and set build location to “Relative to Workspace”.
原文链接:http://blog.sina.com.cn/s/blog_67d955460101xbuh.html
Library not found for -lPods
, it doesn’t detect the implicit dependencies:
Go to Product > Edit Scheme
Click on Build
Add the
Pods
static library, and make sure it’s at the top of the list
Clean and build again
If that doesn’t work, verify that the source for the spec you are trying to include has been pulled from github. Do this by looking in /Pods/. If it is empty (it should not be), verify that the ~/.cocoapods/master//.podspec has the correct git hub url in it.
If still doesn’t work, check your XCode build locations settings. Go to Preferences -> Locations -> Derived Data -> Advanced and set build location to “Relative to Workspace”.
原文链接:http://blog.sina.com.cn/s/blog_67d955460101xbuh.html
相关文章推荐
- Hadoop 3.0纠删码(Erasure Coding):节省一半存储空间
- Linux环境下安装MySQL|Linux下Mysql安装教程
- 1.6 五分钟学会OpenStack 基础知识
- adb shell 命令详解
- SVN submit Can't open ..tempfile.tmp: Permission denied
- jenkins安装配置(tomcat)
- centos7 在 vmware下的安装与配置
- MyEclipse+Tomcat+MAVEN+SVN项目完整环境搭建
- Linux用ssh登陆出现“Too many authentication failures for root”
- Mac下启动Apache配置
- Nginx ----- Windows下Nginx的安装与部署
- 关于图片的压缩(大小压缩和质量压缩)BitmapFactory.Options详解
- Linux 对比两个文本的交集和差集(comm)
- nginx的重启遇到的问题及解决方法
- 查看和修改Linux的时区
- Linux下查看文件和文件夹大小
- HBase架构核心模块
- Linux下GLIBCXX和GLIBC版本低造成的编译错误的解决方案
- DEBUGGING AND OPTIMIZING MEMORY
- MySQL linux二进制安装