From 0353a30a4795019edbd88c84090215ec30b698ee Mon Sep 17 00:00:00 2001 From: Tamas Lustyik Date: Thu, 1 Feb 2018 21:41:40 +0100 Subject: [PATCH] Pinned SourceKit dependency until SPM build of 0.19.0 is fixed --- Bridgecraft/GenerateCommand.swift | 2 +- Cartfile | 2 +- Package.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Bridgecraft/GenerateCommand.swift b/Bridgecraft/GenerateCommand.swift index d97dd82..ff809b8 100644 --- a/Bridgecraft/GenerateCommand.swift +++ b/Bridgecraft/GenerateCommand.swift @@ -305,7 +305,7 @@ struct GenerateCommand { arguments: compilerFlags) let result: [String: SourceKitRepresentable] do { - result = try req.send() + result = try req.failableSend() } catch { printError("failed to generate interface for \(preprocessedURL.path): \(error)") diff --git a/Cartfile b/Cartfile index 712db99..1aeb49c 100644 --- a/Cartfile +++ b/Cartfile @@ -1,3 +1,3 @@ -github "jpsim/SourceKitten" +github "jpsim/SourceKitten" ~> 0.18.4 github "appsquickly/XcodeEditor" "master" github "kylef/Commander" diff --git a/Package.swift b/Package.swift index 53330a7..b69021a 100755 --- a/Package.swift +++ b/Package.swift @@ -35,7 +35,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/kylef/Commander.git", from: "0.8.0"), - .package(url: "https://github.com/jpsim/SourceKitten.git", from: "0.18.0"), + .package(url: "https://github.com/jpsim/SourceKitten.git", .exact("0.18.4")), .package(url: "https://github.com/appsquickly/XcodeEditor.git", .branch("master")), ], targets: [