From 705e6e6dd81e885a63cc68afc5dcfcac2089b1a5 Mon Sep 17 00:00:00 2001 From: Rene Hexel Date: Sun, 16 Jun 2024 09:38:12 +1000 Subject: [PATCH] Note updated Swift 5.7 requirement. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec019e9c..1dec7949 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ After this, you should be able to `import Gtk` in your sources and use `swift bu Alternatively, you can manually download [run-gir2swift.sh](https://github.com/rhx/gir2swift/raw/main/run-gir2swift.sh ) and add `SwiftGtk` as a dependency to your `Package.swift` file, e.g.: ```Swift -// swift-tools-version:5.6 +// swift-tools-version:5.7 import PackageDescription @@ -92,7 +92,7 @@ After that, use the (usual) Build and Test buttons to build/test this package. ## Prerequisites -### Swift 5.6 or higher +### Swift 5.7 or higher To build, download Swift from https://swift.org/download/ -- if you are using macOS, make sure you have the command line tools installed as well). Test that your compiler works using `swift --version`, which should give you something like