From 0352127ae5650e6e6e8da2eed0f225627581bedc Mon Sep 17 00:00:00 2001 From: Brandon McAnsh Date: Fri, 18 Sep 2026 19:18:59 -0400 Subject: [PATCH] build(swift): pin local builds to Xcode's toolchain swiftly shims `swift` to whichever swift.org toolchain is the user's default, and no swift.org toolchain can build this package. grpc-swift-protobuf's codegen plugin fails to resolve Foundation's `Data` and `URL` against the macOS SDK, and swift-protobuf fails the same way behind it. Reproduced here on 6.2.1; the identical failure in flipcash2-client-protocol also reproduced on 6.3.3, so it is not a stale default. Apple's Swift 6.4 from Xcode builds it clean in ten seconds. CI already runs bare `swift build` on macos-15 against Xcode's toolchain, in both ci.yml and publish.yml, so this only makes a local checkout match what CI does. swiftly is the only thing that reads `.swift-version`, so CI and contributors without swiftly are unaffected. Same one-line fix as flipcash2-client-protocol 4b600ef. --- .swift-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .swift-version diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..7e58507 --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +xcode