From 8736d98f850ab1cceb9629d8270a48546ee8e382 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Wed, 4 Mar 2020 12:52:02 +0800 Subject: [PATCH] Fix the compatible with Xcode 11.0~Xcode 11.3 on SwiftPM, the `exclude` arg does not treat the source code in the publicHeadersPath. --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 7dd16986..b8f49233 100644 --- a/Package.swift +++ b/Package.swift @@ -31,7 +31,7 @@ let package = Package( name: "SDWebImage", dependencies: [], path: "SDWebImage", - exclude: ["MapKit"], + sources: ["Core", "Private"], publicHeadersPath: "Core", cSettings: [ .headerSearchPath("Private")