@@ -8,7 +8,7 @@ let DarwinPlatforms: [Platform] = [.macOS, .iOS, .watchOS, .tvOS, .visionOS]
8
8
9
9
let package = Package (
10
10
name: " WasmKit " ,
11
- platforms: [ . macOS( . v10_13 ) , . iOS( . v12) ] ,
11
+ platforms: [ . macOS( . v14 ) , . iOS( . v12) ] ,
12
12
products: [
13
13
. executable( name: " wasmkit-cli " , targets: [ " CLI " ] ) ,
14
14
. library( name: " WasmKit " , targets: [ " WasmKit " ] ) ,
@@ -122,6 +122,7 @@ let package = Package(
122
122
123
123
. target( name: " GDBRemoteProtocol " ,
124
124
dependencies: [
125
+ . product( name: " Logging " , package : " swift-log " ) ,
125
126
. product( name: " NIOCore " , package : " swift-nio " ) ,
126
127
]
127
128
) ,
@@ -131,6 +132,7 @@ let package = Package(
131
132
name: " WasmKitGDBHandler " ,
132
133
dependencies: [
133
134
. product( name: " NIOCore " , package : " swift-nio " ) ,
135
+ . product( name: " SystemPackage " , package : " swift-system " ) ,
134
136
" WasmKit " ,
135
137
" GDBRemoteProtocol " ,
136
138
] ,
@@ -140,8 +142,10 @@ let package = Package(
140
142
name: " wasmkit-gdb-tool " ,
141
143
dependencies: [
142
144
. product( name: " ArgumentParser " , package : " swift-argument-parser " ) ,
145
+ . product( name: " Logging " , package : " swift-log " ) ,
143
146
. product( name: " NIOCore " , package : " swift-nio " ) ,
144
147
. product( name: " NIOPosix " , package : " swift-nio " ) ,
148
+ . product( name: " SystemPackage " , package : " swift-system " ) ,
145
149
" GDBRemoteProtocol " ,
146
150
" WasmKitGDBHandler " ,
147
151
]
@@ -154,12 +158,14 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
154
158
. package ( url: " https://github.com/apple/swift-argument-parser " , from: " 1.5.1 " ) ,
155
159
. package ( url: " https://github.com/apple/swift-system " , from: " 1.5.0 " ) ,
156
160
. package ( url: " https://github.com/apple/swift-nio " , from: " 2.86.2 " ) ,
161
+ . package ( url: " https://github.com/apple/swift-log " , from: " 1.6.4 " ) ,
157
162
]
158
163
} else {
159
164
package . dependencies += [
160
165
. package ( path: " ../swift-argument-parser " ) ,
161
166
. package ( path: " ../swift-system " ) ,
162
167
. package ( path: " ../swift-nio " ) ,
168
+ . package ( path: " ../swift-log " ) ,
163
169
]
164
170
}
165
171
0 commit comments