Unable to install pod 'CalendarKit', '0.1.22' in Swift 3 and Xcode 8.3.3

276 Views Asked by At

The GitHub page for CalendarKit specifies that the setting for Swift 3 is:

pod 'CalendarKit', '0.1.22'

but that throws an error:

[!] Unable to satisfy the following requirements: - CalendarKit (= 0.1.22) required by Podfile None of your spec sources contain a spec satisfying the dependency: CalendarKit (= 0.1.22).

You have either:
* out-of-date source repos which you can update with pod repo update or with pod install --repo-update.

2

There are 2 best solutions below

0
On BEST ANSWER

The information they provided is incorrect, their Podspec is not up to date. You should specify the git and the commit for 0.1.22 in your Podfile to download CalendarKit for Swift 3:

pod 'CalendarKit', :git => 'https://github.com/richardtop/CalendarKit.git', :commit => '65ace5a'
0
On

Could you try pod repo update and see if this helps?

Another user had a similar problem and updating the CocoaPods specs repository helped them.

Here is the relevant podspec to the corresponding version, so it is not the problem in the Specs repository itself.

Disclosure: I am the author of the CalendarKit