pod 使用中的一些报错
来源:互联网 发布:淘宝老酒拍卖真吗 编辑:程序博客网 时间:2024/05/22 10:43
1,安装或更新第三方库时提示找不到库
$ pod installAnalyzing dependencies[!] Unable to find a specification for 'AfNetworking (~> 2.0)'
原因:要么是安装完Cocoapods后没执行pod setup,要么就是pod setup失败解决办法:清除后,重新 setup,执行以下命令
$ pod repo remove master$ pod setup
2,安装或更新第三方库时出现如下警告[!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.
原因:
1、不要使用文本编辑去编辑Podfile文件,使用Xcode编辑,或者使用终端敲命令去编辑。
2、Podfile的内容语法格式有问题
3,安装或更新第三方库时出现如下错误
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the targetParentPortal
to Pods/Target Support Files/Pods/Pods.debug.xcconfig
or include thePods/Target Support Files/Pods/Pods.debug.xcconfig
in your build configuration.
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the targetParentPortal
to Pods/Target Support Files/Pods/Pods.release.xcconfig
or include thePods/Target Support Files/Pods/Pods.release.xcconfig
in your build configuration.
解决办法:修改Configurations为None,如下图所示
- pod 使用中的一些报错
- 更新ruby后pod使用报错
- kubenetes创建Pod/RC时的一些报错问题解决
- POD报错
- pod报错
- cocosapods pod install 报错
- Cocoapods pod update 报错
- cocoapods pod install 报错
- Volley网络框架使用过程中的一些报错解决办法。
- pod 报错 Operation not permitted - /usr/bin/pod
- osx升级到10.10后,使用pod install报错解决办法
- 删除cocoapods中的一些repo选项:pod repo remove xxx
- pod 一些解释
- 从Github上用pod导入的报错解决
- Xcode报错: pod管理项目导入第三方报错
- xcode8 cocoapods 执行 pod spec lint 报错
- CocoaPods的Pod update和install报错
- Xcode8 pod install 报错 “Generating Pods project Abort trap
- hive大数据倾斜总结
- 【总结】PHP常见面试题汇总(二)
- Go学习笔记一
- 开发数据仓库模型的方法学(书摘备查)
- 【干货分享】流程DEMO-借款申请
- pod 使用中的一些报错
- hadoop环境搭建
- Java设计模式(20)行为型:状态模式
- 欢迎使用CSDN-markdown编辑器
- 仿百度文库在线浏览文档
- js跨域调用WebService的简单实例
- 三大uml建模工具visio、rational rose、powerdesign的区别
- TCP/IP协议总结
- rtsp协议详解