Swift 5.7 released!

This is because Xcode 14 has a macOS 12 SDK, which does not have the Swift 5.7 Instant and Duration types or protocols, because those are introduced in macOS 13.

Holly gave a good summary of the issue in the context of primary associated types here. If you target iOS or watchOS (which have new SDKs with Swift 5.7 in Xcode 14), you will not have this issue. For development targeting macOS using Swift 5.7 features, you should use Xcode betas until a release with the macOS 13 SDK is available.

(The project should also be fixed, of course =)

6 Likes