Fix the SwiftPM Package.swift declaration for Xcode 11.4-Beta 3 and old versions

This commit is contained in:
DreamPiggy 2020-03-04 12:16:34 +08:00
parent b9bcbad5a6
commit 412269368e
1 changed files with 6 additions and 2 deletions

View File

@ -32,12 +32,16 @@ let package = Package(
dependencies: [],
path: "SDWebImage",
exclude: ["MapKit"],
publicHeadersPath: "Core"
publicHeadersPath: "Core",
cSettings: [
.headerSearchPath("Private")
]
),
.target(
name: "SDWebImageMapKit",
dependencies: ["SDWebImage"],
path: "SDWebImage/MapKit"
path: "SDWebImage/MapKit",
publicHeadersPath: "."
)
]
)