Cocoapods遇到的一些问题

1.无法pod框架

[!] Pods written in Swift can only be integrated as frameworks; add use_frameworks! to your Podfile or target to opt into using it. The Swift Pod being used is: Charts

加上use_frameworks! 感叹号为英文状态 !

 use_frameworks!
 pod 'FMDB'
 pod ‘Charts’

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

不要在podfile文件里面编辑 选择用终端编辑

3:Error fetching http://ruby.taobao.org/:
bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz)

解决方案:把安装流程中 $gem sources -a http://ruby.taobao.org/ ---改为---->$gem sources -a https://ruby.taobao.org/

4:ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/pod

解决方案:苹果系统升级OS X EL Capitan后会出现的插件错误,将安装流程 4.安装CocoaPods 的 (1)sudo gem install cocoapods ——>改为sudo gem install -n /usr/local/bin cocoa pods

5:[!] Unable to satisfy the following requirements: - AVOSCloud (~> 3.1.6.3) required by Podfile
Specs satisfying the AVOSCloud (~> 3.1.6.3) dependency were found, but they required a higher minimum deployment target.

解决方案:安装流程:Podfile文件 中 platform:ios, ‘6.0’ 后边的 6.0 是平台版本号 ,一定要加上

你可能感兴趣的:(Cocoapods遇到的一些问题)