pod install 错误 .cocoapods/repos `open': No such file or directory
2015-02-01 20:15
375 查看
现执行pod setup,再执行pod install即可
错误信息:
执行pod setup:
再执行pod install即可
错误信息:
wuyamingdeMBP:DNApp yaming$ pod install 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/yaming/.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>'
执行pod setup:
wuyamingdeMBP:DNApp yaming$ pod setup Setting up CocoaPods master repo CocoaPods 0.36.0.beta.2 is available. To update use: `gem install cocoapods --pre` [!] This is a test version we'd love you to try. For more information see http://blog.cocoapods.org and the CHANGELOG for this version http://git.io/BaH8pQ. Setup completed
再执行pod install即可
Analyzing dependencies CocoaPods 0.36.0.beta.2 is available. To update use: `gem install cocoapods --pre` [!] This is a test version we'd love you to try. For more information see http://blog.cocoapods.org and the CHANGELOG for this version http://git.io/BaH8pQ. Downloading dependencies Installing Canvas (0.1.2) Generating Pods project Integrating client project [!] From now on use `DNApp.xcworkspace`.
相关文章推荐
- vc6.0 转 vs2008 时 遇到这样的错误时“BSCMAKE: error BK1506 : cannot open file './Debug/ex73View.sbr': No such file or directory”
- C语言编译错误 fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
- VC编译程序时Cannot open precompiled header file: 'Debug/.pch': No such file or directory错误处理
- android学习历程——“Unable to open log device '/dev/log/main': No such file or directory”错误解决方法
- mysql-python 安装错误: Cannot open include file: 'config-win.h': No such file or directory
- fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
- Cannot open include file: 'inttypes.h': No such file or directory
- fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
- fatal error C1083: Cannot open include file: 'htmlhelp.h': No such file or directory 解决办法
- OpenCV2.2+VC2005 fatal error C1083: Cannot open include file:'opencv2/core/core_c.h': No such file or directory
- error BK1506 :cannot open file './Debug/C.sbr': No such file or directory
- fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory
- Cannot open precompiled header file: 'Debug/****.pch': No such file or directory
- 安装VS简化版。解决编译器报错“Cannot open include file: 'iostream.h': No such file or directory”
- C1083: Cannot open type library file: 'msxml.dll': No such file or directory
- 关于Cannot open include file: 'ceconfig.h': No such file or directory
- fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
- C1803:ERROR Cannot open precompiled header file: 'Debug/XXX.pch': No such file or directory
- fatal error C1083: Cannot open include file: 'ProMenu.h': No such file or directory
- fatal error C1083: Cannot open precompiled header file: 'Debug/xxx.pch': No such file or directory