Cocoapods: CocoaPod Error - Unable to find a specification for

Created on 15 Jan 2016  路  13Comments  路  Source: CocoaPods/CocoaPods

When execute pod update or pod install get the next error
[!] Unable to find a specification for...

I checked CocoaPods Specs and has a Error (Failed to load latest commit information)

Could you fix this error please?

All repositories are failed!

captura de pantalla 2016-01-15 a las 12 46 22 p m

awaiting input

Most helpful comment

That project installs fine for me. Can you rm -rf ~/.cocoapods/repos/master and try installing again?

All 13 comments

Can you please share the entire output of pod install --verbose? Thanks!

$ pod install --verbose
Preparing

Updating local specs repositories

Updating spec repo master
$ /usr/bin/git pull --ff-only
Already up-to-date.

CocoaPods 1.0.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.

Analyzing dependencies

Inspecting targets to integrate
Using ARCHS setting to build architectures of target Pods: () UsingARCHSsetting to build architectures of target Pods-MasterlockBLETests: ()

Finding Podfile changes

  • CocoaLumberjack
  • GoogleAnalytics-iOS-SDK
  • Masonry
  • OCHamcrest
  • OCMock
  • ReactiveCocoa
  • SSKeychain
  • TTTAttributedLabel
  • Typhoon

Resolving dependencies of Podfile
[!] Unable to find a specification for ReactiveCocoa (~> 2.4.0)

/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/resolver.rb:388:in handle_resolver_error' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/resolver.rb:69:inrescue in resolve'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/resolver.rb:56:in resolve' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:535:inblock in resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/user_interface.rb:59:in section' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:533:inresolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:70:in analyze' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:210:inanalyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:133:in block in resolve_dependencies' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/user_interface.rb:59:insection'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:132:in resolve_dependencies' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:104:ininstall!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:71:in run_install_with_update' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:101:inrun'
/Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:312:in run' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command.rb:48:inrun'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/bin/pod:44:in <top (required)>' /usr/local/bin/pod:23:inload'
/usr/local/bin/pod:23:in `

'

pod 'ReactiveCocoa', '~> 2.4.0'
pod 'Typhoon', '~> 3.0.2'
pod 'Masonry', '~> 0.6.2'
pod 'SSKeychain', '~> 1.2.2'
pod 'GoogleAnalytics-iOS-SDK', '~> 3.10'
pod 'CocoaLumberjack', '2.0'
pod 'TTTAttributedLabel', '~> 1.13'

if i switch ReactiveCocoa to Typhoon return Typhoon like error.

$ pod --version
0.38.2

Please check this other image...

captura de pantalla 2016-01-15 a las 1 31 57 p m

Yeah, the github web UI can't 'handle our scale', but that doesn't effect the actual git repo.

I can't reproduce this using CocoaPods 0.38.2. Can you try and boil this down to a Podfile that reproduces the issue in a clean project

@orta thats not correct -- 2.4.x matches

Ah, fair, deleting my post - not gonna leave bad info out there.

I installed cocoapods-1.0.0.beta.2 and has returned the same error... i send you a project new and the verbose log...

CocoaPodTest.zip

That project installs fine for me. Can you rm -rf ~/.cocoapods/repos/master and try installing again?

Thank You! Now... It works!

niw

Was this page helpful?
0 / 5 - 0 ratings

Related issues

steffendsommer picture steffendsommer  路  3Comments

5SMNOONMS5 picture 5SMNOONMS5  路  3Comments

Mingmingmew picture Mingmingmew  路  3Comments

gerchicov-bp picture gerchicov-bp  路  3Comments

k06a picture k06a  路  3Comments