// swift-tools-version:5.0

import PackageDescription

let package = Package(
    name: "MKGradientView",
    platforms: [
        .iOS(.v8),
    ],
    products: [
        .library(
            name: "MKGradientView",
            targets: ["MKGradientView"]
        ),
    ],
    targets: [
        .target(
            name: "MKGradientView",
            path: "MKGradientView"
        ),
    ]
)

// swift-tools-version:5.0

import PackageDescription

let package = Package(
    name: "MKGradientView",
    platforms: [
        .iOS(.v8)
    ],
    products: [
        .library(
            name: "MKGradientView",
            targets: ["MKGradientView"]),
    ],
    targets: [
        .target(
            name: "MKGradientView",
            path: "MKGradientView")
        )
    ]
)

--- 
+++ 
@@ -5,17 +5,18 @@
 let package = Package(
     name: "MKGradientView",
     platforms: [
-        .iOS(.v8)
+        .iOS(.v8),
     ],
     products: [
         .library(
             name: "MKGradientView",
-            targets: ["MKGradientView"]),
+            targets: ["MKGradientView"]
+        ),
     ],
     targets: [
         .target(
             name: "MKGradientView",
-            path: "MKGradientView")
-        )
+            path: "MKGradientView"
+        ),
     ]
 )
Remove extra parenthesis and format
