Use a static enum rather than string literal for platform version

This commit is contained in:
Richard Groves 2020-05-16 14:30:40 +01:00
parent 3e834f14fc
commit 983f6e5ca9
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import PackageDescription
let package = Package( let package = Package(
name: "DynamicColor", name: "DynamicColor",
platforms: [ platforms: [
.iOS("11.0") .iOS(SupportedPlatform.IOSVersion.v11)
], ],
products: [ products: [
.library(name: "DynamicColor", targets: ["DynamicColor"]), .library(name: "DynamicColor", targets: ["DynamicColor"]),