ohitsdaniel / ShapeBuilder

A result builder that allows to define shape building closures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to add to Xcode 12.4

crazyfoxkp opened this issue · comments

Hello, Package resolution fails when using Xcode 12.4
Is there a workaround?

image

Any particular reason why you're not using Xcode 12.5? As the error suggests, ShapeBuilder defines an incompatible swift-tools-version:5.4.

According to Apple's support website, Xcode 12.4 ships with Swift 5.3, not 5.4. That's the reason why package resolution fails here.

Two possible fixes:

  1. You upgrade to Xcode 12.5.
  2. I drop the swift-tools-version down to 5.3.

Unless you have a reason not to upgrade your Xcode, I would prefer 1). :)

Thank you for responding.

My iMac hardware is just old enough that I cannot upgrade to BigSur/XCode 12.5.
I'm not in a position to buy new hardware.

If you are able to help, I'd appreciate it.
Thanks again.

Sure, I'll drop the swift toolchain version to something your Mac supports and release a new version tomorrow. :)

Let me know if version 0.1.1 fixes the issue for you. :)

Works for me. Thank you very much.