Cocoapods: None of your spec sources contain a spec satisfying the dependencies

Created on 20 Jun 2016  路  11Comments  路  Source: CocoaPods/CocoaPods

Report

What did you do?

Ran pod install, have attempted to remove Podfile.lock, Pods/, etc. Set the deployment target equal to iOS min version. Nothing seems to work, have tried most all past steps from old open cases. There doesn't seem to be anything to help fix this newer error message, just comments about the wording of the error messages!

What did you expect to happen?

The pod install to work and my Xcode Project to Build

What happened instead?

Continue to get this error message over and over:
[!] Unable to satisfy the following requirements:

  • Quickblox-WebRTC required by Podfile
  • Quickblox-WebRTC (= 2.2) required by Podfile.lock

None of your spec sources contain a spec satisfying the dependencies: Quickblox-WebRTC, Quickblox-WebRTC (= 2.2).

You have either:

  • out-of-date source repos which you can update with pod repo update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

CocoaPods Environment

1.0

awaiting input

Most helpful comment

Did you note this part of the error message:

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

and run pod repo update?

All 11 comments

Did you note this part of the error message:

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

and run pod repo update?

yes, i ran 'pod repo update' and problem still persists

Can you share your Podfile please? I guess the only other thing could be that you don't have the CocoaPods specs repo in there

Uncomment this line to define a global platform for your project
platform :ios, '8.1'
inhibit_all_warnings!

target 'Xpandu' do
pod 'AFNetworking', '~> 2.5'
pod 'SVProgressHUD', '~> 1.1'
pod 'TPKeyboardAvoiding', '~> 1.2.3'
pod 'QuickBlox'
pod 'Quickblox-WebRTC'
pod 'Heap', '~> 3.0'
pod 'MISDropdownViewController'
pod 'ChimpKit'
pod 'SBJson', '~> 4.0.0'
end

I cannot reproduce the issue with the provided Podfile

you can try to delete Podfile.lock And then run pod update

@Juice007 @segiddins Thanks, it works. But I want to know why. Still has this problem in 1.5.3

@shalem93 I think in this case some of pod used in your podfile, also used inside pod. Try use "pod update", or synchronize both versions of used pods.
For example I have been used SDWebImage that I think uses KSPhotoBrowser. And I also use KSPhotoBrowser in my podfile. I just synchronized versions of KSPhotoBrowser and issue resolved.
My error:

[!] CocoaPods could not find compatible versions for pod "SDWebImage/GIF":
  In Podfile:
    KSPhotoBrowser was resolved to 0.2.5, which depends on
      SDWebImage/GIF

None of your spec sources contain a spec satisfying the dependency: `SDWebImage/GIF`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

Removing cocoapods and reinstalling the gem allowed me to pod install when pod repo update failed.

rm -rf ~/.cocoapods
sudo gem install cocoapods
pod install

Whenever publishing a new version for one of my cocoa pods, it takes forever for "pod install" to find it. "pod repo update" and "pod install --repo-update" do not fix the problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gerchicov-bp picture gerchicov-bp  路  3Comments

evermeer picture evermeer  路  3Comments

Mingmingmew picture Mingmingmew  路  3Comments

intelliot picture intelliot  路  3Comments

iosdev-republicofapps picture iosdev-republicofapps  路  3Comments