// swift-tools-version:5.0
import PackageDescription

let package = Package(
  name: "DynamicColor",
  platforms: [
	.iOS(SupportedPlatform.IOSVersion.v11)
	],
  products: [
    .library(name: "DynamicColor", targets: ["DynamicColor"]),
  ],
  targets: [
    .target(
      name: "DynamicColor",
      dependencies: [],
      path: "Sources"),
    .testTarget(
      name: "DynamicColorTests",
      dependencies: ["DynamicColor"],
      path: "Tests"),
  ]
)


// swift-tools-version:5.0
import PackageDescription

let package = Package(
  name: "DynamicColor",
  platforms: [
	.iOS("11.0")
	],
  products: [
    .library(name: "DynamicColor", targets: ["DynamicColor"]),
  ],
  targets: [
    .target(
      name: "DynamicColor",
      dependencies: [],
      path: "Sources"),
    .testTarget(
      name: "DynamicColorTests",
      dependencies: ["DynamicColor"],
      path: "Tests"),
  ]
)


--- 
+++ 
@@ -4,7 +4,7 @@
 let package = Package(
   name: "DynamicColor",
   platforms: [
-	.iOS("11.0")
+	.iOS(SupportedPlatform.IOSVersion.v11)
 	],
   products: [
     .library(name: "DynamicColor", targets: ["DynamicColor"]),
Use a static enum rather than string literal for platform version
