您的位置:首页 > 其它

Mac OS X 10.10(yosemite)更新后,cocoapods出错, 及cocoapods更新至0.34后, 错误情况整理

2014-10-23 11:06 393 查看
1:Mac升级10.10后,执行pod install出错如下

  解决方案:卸载0.1.2版本, 再安装最新版本

  

2:安装成功后, 再执行 pod install 还是出错, 如下

  解决方案: podfile格式变化了. 要用新格式.

3: podfile格式变化

以前的podfile格式如下

以下是官网的podfile介绍

http://guides.cocoapods.org/syntax/podfile.html

http://guides.cocoapods.org/using/the-podfile.html

The Podfile is a specification that describes the dependencies of the targets of one or more Xcode projects. The Podfile always creates an implicit target, named
default
, which links to the first target of the user
project.

A podfile can be very simple:

  

An example of a more complex podfile can be:

  
ps:podfile中尤其要注意标点符号.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: