Open sbhat98 opened 3 days ago
I seem to be able to build the repo fine with the nightly 6.0 release on Windows.
This appears to be a general issue with using the OSS toolchains on Darwin platforms while importing the Darwin module and not specific to Foundation (although this is related to Foundation since Foundation imports the Darwin module). I'm going to transfer this issue over to the main swift repo to track the fix in the compiler. I believe @ian-twilightcoder and some other folks have been looking into this
This was resolved on release/6.0
with https://github.com/swiftlang/swift/pull/76552. It should land in the nightly toolchain snapshots within the next few days. There's also https://github.com/swiftlang/swift/issues/76534 which is tracking this general issue on the swift repo, so I think this is a dupe of that issue if you'd like to close this in favor of that one. Feel free to report back on the swift repo if you still encounter issues after that fix has landed in a nightly snapshot
Hello all,
I am trying to build the repo with the hopes of contributing, but I have been unable to successfully run
swift build
using the instructions provided. According the toREADME
, this repo requires the in-development nightly toolchain to run, but neither the latest nightly or the latest stable release on swift.org are able to build this repository without erroring out.I did try to build with the XCode version of Swift and it works fine there.
Platform: MacBook Pro 2019 16" (x86) OS: Seqouia XCode Version: 16.0 Swift toolchain versions tried:
swift-6.0-DEVELOPMENT-SNAPSHOT-2024-09-11-a
swift-6.0-RELEASE
swift build
partial output: