Swift 6.0 Nightly Development Snapshots!

Swift 6.0 nightly development snapshots now available on swift.org

21 Likes

Are they supposed to work in XCode playground? I get an

error: Couldn't lookup symbols:
  _playground_logger_initialize

Xcode 15.3
Mac OS 14.4 (23E214)

I can’t say whether they're supposed to work, but as far as I know Xcode playgrounds have never worked with custom toolchains, so this is to be expected.

(Edit: added 'never'; I had forgotten this very important word.)

2 Likes

This is a very important clarification)) Thanks for editing the message. Is there an information somewhere about toolchains support? I mean in what IDEs they can be used and what are the limitations.

I've searched the forum but found not so much useful information: Open-source toolchains for Playgrounds (iOS, Xcode 8) - #3 by Karl

New project with single view application also fails to compile in SwiftUI preview and via build command.

I'm a bit confused as there are settings in XCode>Toolchains menu where Swift 6 toolchain can be selected which hints it should be supported.
Previously I've only used toolchains from different XCode versions and they worked as expected.