richardtop / CalendarKit

📅 Calendar for Apple platforms in Swift

Home Page:https://www.youtube.com/watch?v=cJ63-_z1qg8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Just can't install library with CocoaPod or Swift Package

bouchtaoui-dev opened this issue · comments

OS

MacOS Catalina (10.15.7)

Xcode

Version 11.0 (11A420a)

Issue

  • Can't build CalendarKit from pod
  • Can't install CalendarKit with Swift Package Manager

Pod issue

Screenshot 2021-01-21 at 12 01 02

Swift Package issue

Screenshot 2021-01-21 at 11 59 47

How can I solve these so I can use the beautiful CalendarKit?

Hi, looks like you're using an old version of Xcode. SPM requires Xcode 12+.
Please, use CocoaPods and try one of these older releases of CalendarKit:
image

Solution was upgrading from Xcode 11 to Xcode 12. Thank you @richardtop!

Could you clarify, if you were using SPM or CocoaPods with Xcode 12?

Hi @richardtop I used CocoaPods.
So after I upgraded to Xcode 12, I reinstalled CocoaPod and now everything works. By the way, I tried another pod which didn't work as well until I upgraded to Xcode 12.
I'm afraid a lot of pods are unusable now if xcode is not upgraded to version 12.

OK. So it looks like the calendar kit doesn't work with Xcode 11. Could be a language version incompatibility.

Glad your issue has been resolved.