Skip to content

Commit 81060cb

Browse files
committed
Revert incorrect minimum Swift version requirement changes
1 parent 8e4c896 commit 81060cb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For up to date (auto-generated) reference documentation, see https://rhx.github.
1111

1212
Support for gtk 4 was added via the `gtk4` branch.
1313

14-
Version 15 of gir2swift provides a Package Manager Plugin. This requires Swift 5.10 or higher
14+
Version 15 of gir2swift provides a Package Manager Plugin. This requires Swift 5.6 or higher
1515
(older versions can be used via the [swift52](https://github.com/rhx/SwiftGtk/tree/swift52) branch).
1616

1717
## Usage
@@ -27,7 +27,7 @@ After this, you should be able to `import Gtk` in your sources and use `swift bu
2727
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.:
2828

2929
```Swift
30-
// swift-tools-version:5.10
30+
// swift-tools-version:5.6
3131

3232
import PackageDescription
3333

@@ -85,7 +85,7 @@ After that, use the (usual) Build and Test buttons to build/test this package.
8585

8686
## Prerequisites
8787

88-
### Swift 5.10 or higher
88+
### Swift 5.6 or higher
8989

9090
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
9191

0 commit comments

Comments
 (0)