Home > Blockchain >  Can I resolve my toolchain version error with this package?
Can I resolve my toolchain version error with this package?

Time:09-16

I am trying to use the following package in a project:

Old toolchain error next to new toolchain

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 Enter In GitHub Repo URL

Enter Tag in here

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.

And here it is, ready to go!

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.

  • Related