Fix the compatible with Xcode 11.0~Xcode 11.3 on SwiftPM, the `exclude` arg does not treat the source code in the publicHeadersPath.

This commit is contained in:
DreamPiggy 2020-03-04 12:52:02 +08:00
parent 412269368e
commit 8736d98f85
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ let package = Package(
name: "SDWebImage", name: "SDWebImage",
dependencies: [], dependencies: [],
path: "SDWebImage", path: "SDWebImage",
exclude: ["MapKit"], sources: ["Core", "Private"],
publicHeadersPath: "Core", publicHeadersPath: "Core",
cSettings: [ cSettings: [
.headerSearchPath("Private") .headerSearchPath("Private")