mirror of https://github.com/SnapKit/SnapKit
added updates to Package.swift so it can be imported with Xcode 11 (#615)
This commit is contained in:
parent
df9df818dd
commit
bffbeecd10
|
@ -6,3 +6,4 @@ Examples/
|
||||||
Gemfile
|
Gemfile
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
*.sketch
|
*.sketch
|
||||||
|
.swiftpm
|
||||||
|
|
|
@ -27,11 +27,19 @@ import PackageDescription
|
||||||
|
|
||||||
let package = Package(
|
let package = Package(
|
||||||
name: "SnapKit",
|
name: "SnapKit",
|
||||||
|
platforms: [
|
||||||
|
.iOS(.v10),
|
||||||
|
.macOS(.v10_12),
|
||||||
|
.tvOS(.v10)
|
||||||
|
],
|
||||||
products: [
|
products: [
|
||||||
.library(name: "SnapKit", targets: ["SnapKit"]),
|
.library(name: "SnapKit", targets: ["SnapKit"]),
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(name: "SnapKit", path: "Source"),
|
.target(name: "SnapKit", path: "Source"),
|
||||||
.testTarget(name: "SnapKitTests", dependencies: ["SnapKit"]),
|
.testTarget(name: "SnapKitTests", dependencies: ["SnapKit"]),
|
||||||
|
],
|
||||||
|
swiftLanguageVersions: [
|
||||||
|
.v5
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue