I am trying to use the following package in a project:
Does anyone know if I can get the package to recognize the v5 toolchain I installed?
CodePudding user response:
Yes!
In this case, repo tags can be your friend.
One of my own computers is also (hopefully only temporarily) stuck at Catalina and XCode 12.4, so I was able to add this package to a repo by specifying a (slightly) older version from the
I entered in version 1.0.8 into the "Rules" section, but SPM picked up version 1.0.9, which is likely to be the last version that works with Xcode 12.4.
CodePudding user response:
Please fork the repository and modify this line: https://github.com/richardtop/CalendarKit/blob/master/Package.swift#L1 to set the toolchain version to 5.3.
Then, try installing your version of the repository. If it works, feel free to submit a pull request.