From b3e1e5458afa1702268e3d7bc162f52368fb2163 Mon Sep 17 00:00:00 2001 From: Yim Lee Date: Wed, 3 Feb 2021 14:51:39 -0800 Subject: [PATCH] Require macOS 10.15 Motivation: The same requirement is being added to SwiftPM as part of https://github.com/apple/swift-package-manager/pull/3202. Without this change SourceKit-LSP will fail to build with error: ``` the library 'SKSwiftPMWorkspace' requires macos 10.10, but depends on the product 'SwiftPM-auto' which requires macos 10.15; consider changing the library 'SKSwiftPMWorkspace' to require macos 10.15 or later, or the product 'SwiftPM-auto' to require macos 10.10 or earlier. ``` Modification: Require macOS 10.15. Result: SourceKit-LSP builds successfully with changeset https://github.com/apple/swift-package-manager/pull/3202. --- Package.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Package.swift b/Package.swift index 49a5c208e..f6e92e5d1 100644 --- a/Package.swift +++ b/Package.swift @@ -4,6 +4,7 @@ import PackageDescription let package = Package( name: "SourceKitLSP", + platforms: [.macOS(.v10_15)], products: [ .executable( name: "sourcekit-lsp",