File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Sources/LanguageServerProtocolTransport Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,11 @@ if buildOnlyTests {
206206
207207let package = Package (
208208 name: " swift-tools-protocols " ,
209- platforms: [ . macOS( . v14) ] ,
209+ platforms: [
210+ . macOS( . v14) ,
211+ . iOS( . v17) ,
212+ . macCatalyst( . v17) ,
213+ ] ,
210214 products: products,
211215 dependencies: dependencies,
212216 targets: targets,
Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ public final class JSONRPCConnection: Connection {
196196 sendIO. setLimit ( highWater: Int . max)
197197 }
198198
199+ #if os(macOS) || !canImport(Darwin)
199200 /// Creates and starts a `JSONRPCConnection` that connects to a subprocess launched with the specified arguments.
200201 ///
201202 /// `client` is the message handler that handles the messages sent from the subprocess to SourceKit-LSP.
@@ -267,6 +268,7 @@ public final class JSONRPCConnection: Connection {
267268
268269 return ( connection, process)
269270 }
271+ #endif // os(macOS) || !canImport(Darwin)
270272
271273 deinit {
272274 assert ( state == . closed)
You can’t perform that action at this time.
0 commit comments