1.安装时报错,导致安装失败

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

解决方法:

sudo gem install -n /usr/local/bin cocoapods

2.更新时产生一个警告

[!] Automatically assigning platform ios with version 10.3 on target Library because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

解决方法:

将第二行platform前面的注销# 符号去掉就可以

posted on 2018-10-08 17:19  广坤山货  阅读(156)  评论(0编辑  收藏  举报