我在“pod install”和“pod update”中都遇到错误
准备中
分析依赖关系
检查要集成的目标 使用ARCHS
设置来构建目标架构Pods-pojectnam
:(``)
查找 Podfile 更改
- MBProgressHUD
解决Podfile
[!]的MBProgressHUD (~> 0.9.2)
依赖handle_resolver_error'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/resolver.rb:65:in
关系/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/resolver.rb:57:resolve_dependencies'/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/libresolve'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/analyzer.rb:723:in
中的块/cocoapods/user_interface.rb:64:in section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/analyzer.rb:721:in
resolve_dependencies' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/analyzer.rb:76:in analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:236:in
analyze' /Library/Ruby /Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:150:in block in resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:64:in
section' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods /installer.rb:149:in resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer.rb:110:in
install!' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/command/install.rb:37:run'
/Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:334:in
运行' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/command.rb:50:in'/usr/local/bin/pod:23:in run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/bin/pod:55:in
'load'
/usr/local/bin/pod:23:in
这是错误日志。我尝试再次安装 cocoapods gem,删除主仓库但没有运气。我也尝试过手动克隆 git 规格,但它没有在 90% 后停止