Closed rvsrvs closed 12 months ago
Good catch! We'll probably want to duplicate the file contents then. (Weird that this proved an issue on macOS, of all platforms...)
Let's do a naive simple fix for now to avoid symlinks.
Perhaps this can be cleaned up a bit so multiple copies would not be necessary? But to unblock development for folks here's a simple patch: https://github.com/apple/swift-atomics/pull/100
Building a package which depends on:
.package(url: "https://github.com/apple/swift-atomics.git", branch: "main")
with Xcode 15 RC1 fails with the message:
Changing the symlinks for
Package@swift-5.7.swift
andPackage@swift-5.8.swift
to be actual files by copying the linked file into place resolves the problem.Information
Checklist
main
branch of this package.Steps to Reproduce
create a new package with the depdenency shown above. It will fail with that message
Expected behavior
It should compile successfully
Actual behavior
See above.