richardtop / CalendarKit

📅 Calendar for Apple platforms in Swift
https://www.youtube.com/watch?v=cJ63-_z1qg8
MIT License
2.49k stars 334 forks source link

Just can't install library with CocoaPod or Swift Package #297

Closed bouchtaoui-dev closed 3 years ago

bouchtaoui-dev commented 3 years ago

OS

MacOS Catalina (10.15.7)

Xcode

Version 11.0 (11A420a)

Issue

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?

richardtop commented 3 years ago

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

bouchtaoui-dev commented 3 years ago

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

richardtop commented 3 years ago

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

bouchtaoui-dev commented 3 years ago

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.

richardtop commented 3 years ago

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.