http://stackoverflow.com/questions/27727998/cocoa-pods-no-such-file-or-directory-error
|
I have an IOS project that uses cocoapods. After switching computers and updating the OS on the new computer I am getting the following error when I try running "pod update"
Robbys-iMac-454:ios-v2 robbykmyers$ pod update
Update all pods
Analyzing dependencies
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:422:in `open': No such file or directory - /Users/robbykmyers/.cocoapods/repos (Errno::ENOENT)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:422:in `foreach'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/pathname.rb:422:in `children'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/sources_manager.rb:63:in `all'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/user_interface/error_report.rb:130:in `repo_information'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/user_interface/error_report.rb:34:in `report'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/command.rb:58:in `report_error'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:300:in `handle_exception'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:274:in `rescue in run'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:264:in `run'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/lib/cocoapods/command.rb:45:in `run'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.35.0/bin/pod:43:in `<top (required)>'
from /usr/bin/pod:23:in `load'
from /usr/bin/pod:23:in `<main>'
Does anyone know how to solve this?
|
|
|
|
Delete the folder ~/.cocoapods/ with rm -rf ~/.cocoapods
Enter pod setup command in Terminal.
This process will take time as this command clones the CocoaPods Specs repository into ~/.cocoapods/ on your computer.
|
|
|
I actually didn't need to remove the file, I solved it by running "pod setup". Thanks for the response! – Rmyers Jan 2 at 22:36
|
|
still i have the issue...! Guide me resolve the error – Siten Jan 4 at 6:56
|
|
最新文章
- .NET跨平台之旅:成功将示例站点升级至ASP.NET Core RC2
- ABP理论学习之功能管理
- .NET应用架构设计—适当使用活动记录模式代替领域模型模式
- [技术分享] centos如何挂载Windows共享文件
- 项目里面的某个资源文件(比如plist、音频等)无法使用
- js获取本机的外网/广域网ip地址
- mybatis新增数据后获取自增主键
- keepalived安装配置(nginx)
- POJ:最长上升子序列
- Myeclipse2013 SVN安装方法以及项目上传到svn服务器
- C++内存管理(超长,例子很详细,排版很好)
- NHibernate执行原生带sum的sql
- jsScript中的一些操作方法
- JNI错误总结(转)
- sql优化个人总结(全)
- OpenGL实例:三角形
- 九、Linux上软件安装
- ImportError: No module named managers
- caffe报错:cudnn.hpp:86] Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM 原因
- john and hydra using de-ice1.100
热门文章
- [CodeForces - 296D]Greg and Graph(floyd)
- Sqlite客户端的使用
- UnicodeDecodeError: &#39;gbk&#39; codec can&#39;t decode byte 0xab in position 11126: illegal multibyte sequence
- anr trace文件分析
- swoole创建websocket服务器
- express 热启动 静态文件部署 跨域解决 调试
- Canvas 剪切图片
- Python全栈(一)编程语言介绍
- 1094 The Largest Generation (25 分)(树的遍历)
- Ext JS 的一个非常好的学习网站