@@ -8,7 +8,7 @@ let DarwinPlatforms: [Platform] = [.macOS, .iOS, .watchOS, .tvOS, .visionOS]
88
99let package = Package (
1010 name: " WasmKit " ,
11- platforms: [ . macOS( . v10_13 ) , . iOS( . v12) ] ,
11+ platforms: [ . macOS( . v14 ) , . iOS( . v12) ] ,
1212 products: [
1313 . executable( name: " wasmkit-cli " , targets: [ " CLI " ] ) ,
1414 . library( name: " WasmKit " , targets: [ " WasmKit " ] ) ,
@@ -122,6 +122,7 @@ let package = Package(
122122
123123 . target( name: " GDBRemoteProtocol " ,
124124 dependencies: [
125+ . product( name: " Logging " , package : " swift-log " ) ,
125126 . product( name: " NIOCore " , package : " swift-nio " ) ,
126127 ]
127128 ) ,
@@ -131,6 +132,7 @@ let package = Package(
131132 name: " WasmKitGDBHandler " ,
132133 dependencies: [
133134 . product( name: " NIOCore " , package : " swift-nio " ) ,
135+ . product( name: " SystemPackage " , package : " swift-system " ) ,
134136 " WasmKit " ,
135137 " GDBRemoteProtocol " ,
136138 ] ,
@@ -140,8 +142,10 @@ let package = Package(
140142 name: " wasmkit-gdb-tool " ,
141143 dependencies: [
142144 . product( name: " ArgumentParser " , package : " swift-argument-parser " ) ,
145+ . product( name: " Logging " , package : " swift-log " ) ,
143146 . product( name: " NIOCore " , package : " swift-nio " ) ,
144147 . product( name: " NIOPosix " , package : " swift-nio " ) ,
148+ . product( name: " SystemPackage " , package : " swift-system " ) ,
145149 " GDBRemoteProtocol " ,
146150 " WasmKitGDBHandler " ,
147151 ]
@@ -154,12 +158,14 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
154158 . package ( url: " https://github.com/apple/swift-argument-parser " , from: " 1.5.1 " ) ,
155159 . package ( url: " https://github.com/apple/swift-system " , from: " 1.5.0 " ) ,
156160 . 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 " ) ,
157162 ]
158163} else {
159164 package . dependencies += [
160165 . package ( path: " ../swift-argument-parser " ) ,
161166 . package ( path: " ../swift-system " ) ,
162167 . package ( path: " ../swift-nio " ) ,
168+ . package ( path: " ../swift-log " ) ,
163169 ]
164170}
165171
0 commit comments