Skip to content

Commit 9070687

Browse files
committed
chore: upgrade swift-tools-version to 6.0 and enable library evolution for Android compatibility
1 parent e79952e commit 9070687

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.spi.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
version: 1
2+
swift_versions:
3+
- 6.0
24
builder:
35
configs:
46
- documentation_targets:
@@ -7,3 +9,11 @@ builder:
79
- CosmoPostgres
810
- CosmoMySQL
911
- CosmoSQLite
12+
platforms:
13+
- android
14+
- ios
15+
- macos
16+
- linux
17+
- tvos
18+
- watchos
19+
- visionos

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.9
1+
// swift-tools-version: 6.0
22
import PackageDescription
33

44
// SQLite is provided by the Apple SDK on Darwin; on Linux we need a system library.
@@ -154,4 +154,6 @@ let package = Package(
154154
] + sqliteSystemLibTargets
155155
)
156156

157-
var swiftSettings: [SwiftSetting] { [] }
157+
var swiftSettings: [SwiftSetting] {
158+
[.enableLibraryEvolution]
159+
}

0 commit comments

Comments
 (0)