Skip to content

Commit c4625c2

Browse files
committed
[Swift 6] Update Package description for Swift 6 and 5 support in Xcode16
1 parent b2f97b7 commit c4625c2

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

Package.swift

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

33
import PackageDescription
44

@@ -19,5 +19,6 @@ let package = Package(
1919
name: "SwiftUIIntrospect",
2020
path: "Sources"
2121
),
22-
]
22+
],
23+
swiftLanguageVersions: [.v5, .v6]
2324
)

[email protected]

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// swift-tools-version:5.7
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "swiftui-introspect",
7+
platforms: [
8+
.iOS(.v13),
9+
.tvOS(.v13),
10+
.macOS(.v10_15),
11+
],
12+
products: [
13+
.library(name: "SwiftUIIntrospect", targets: ["SwiftUIIntrospect"]),
14+
.library(name: "SwiftUIIntrospect-Static", type: .static, targets: ["SwiftUIIntrospect"]),
15+
.library(name: "SwiftUIIntrospect-Dynamic", type: .dynamic, targets: ["SwiftUIIntrospect"]),
16+
],
17+
targets: [
18+
.target(
19+
name: "SwiftUIIntrospect",
20+
path: "Sources"
21+
),
22+
]
23+
)

0 commit comments

Comments
 (0)