How to get cocoapods work on Yosemite,cocoapodsyosemite
投稿于 被查看 35117 次 评论:166
How to get cocoapods work on Yosemite,cocoapodsyosemite
查看原文:http://leancodingnow.com/how-to-get-cocoapods-work-on-yosemite/
今天升级了Mac OS X 10.10-Yosemite以后运行pod install
遇到下面的错误: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:245:in 'mkdir': Permission denied - /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-14 (Errno::EACCES)
一番折腾后找到解决方案如下:
接下来尝试执行pod install
,如果您还遇到下面的错误Error loading the plugin with path '/Library/Ruby/Gems/2.0.0/gems/cocoapods-plugins-0.3.1/lib/cocoapods_plugin.rb'.
Errno::EACCES - Permission denied - /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-14
运行命令$ gem update --system
即可。
其它博文:
- Swift learning resources
- Xcode 6 模拟器路径
More blog posts on http://leancodingnow.com/
Hope this helps,
Michael
相关文章
- 暂无相关文章
用户评论