2016-11-05 102 views
0

我收到錯誤都「吊艙安裝」和「豆莢更新」無法找到的CocoaPods規範xcode8.1

準備

分析依賴

檢查目標,以整合 使用ARCHS設置爲構建目標Pods-pojectnam的架構:(``)

查找Podfile改變

  • MBProgressHUD

解決的Podfile 依賴性[!]無法找到MBProgressHUD (~> 0.9.2) /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/規範resolver.rb:442:in handle_resolver_error' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/resolver.rb:65:in rescue in resolve' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/resolver.rb:57:in resolve' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/installer/analyzer.rb:723:in block in resolve_dependencies' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:64:在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/co coapods-1.1.1/lib/cocoapods/installer/analyzer.rb:76: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:在block in resolve_dependencies' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/lib/cocoapods/user_interface.rb:64:in節' /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:in run' /Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:334:in run' /Library/Ruby/Gems/2.0.0/gems/的CocoaPods-1.1.1/LIB /的CocoaPods/command.rb:50:在run' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.1.1/bin/pod:55:in ' 的/ usr/local/bin中/莢:23:在load' /usr/local/bin/pod:23:in'

這是錯誤日誌。我已經嘗試再次安裝cocoapods寶石,刪除主回購,但沒有運氣。 另外我也試過手動克隆git規格但它不會在90%後停止它的停止

+0

我覺得寶石沒有得到正確安裝。我建議你刪除你的podfile並重新安裝寶石和cocoapods。參考使用這個鏈接https://cocoapods.org/。希望能幫助到你 –

回答

0

直接指向git回購爲我工作。舉個例子,在你的podfile下一個更換頂線:

replace this --> pod 'Alamofire', '~> 4.0' 
    with this--> pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git' 

replace this --> pod 'SwiftyJSON' , '~> 3.1' 
    with this--> pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git' 

有關這方面看到RaziPour1993的答案here

相關問題