// swift-tools-version:4.0
//
//  Package.swift
//  BigInt
//
//  Created by Károly Lőrentey on 2016-01-12.
//  Copyright © 2016-2017 Károly Lőrentey.
//

import PackageDescription

let package = Package(
    name: "BigInt",
    products: [
        .library(name: "BigInt", targets: ["BigInt"])
    ],
    dependencies: [
        .package(url: "https://github.com/attaswift/SipHash", from: "1.2.0")
    ],
    targets: [
        .target(name: "BigInt", dependencies: ["SipHash"], path: "sources"),
        .testTarget(name: "BigIntTests", dependencies: ["BigInt"], path: "tests")
    ],
    swiftLanguageVersions: [4]
)

// swift-tools-version:4.0
//
//  Package.swift
//  BigInt
//
//  Created by Károly Lőrentey on 2016-01-12.
//  Copyright © 2016-2017 Károly Lőrentey.
//

import PackageDescription

let package = Package(
    name: "BigInt",
    products: [
        .library(name: "BigInt", type: .dynamic, targets: ["BigInt"]),
        .library(name: "BigInt", type: .static, targets: ["BigInt"])
    ],
    dependencies: [
        .package(url: "https://github.com/attaswift/SipHash", from: "1.2.0")
    ],
    targets: [
        .target(name: "BigInt", dependencies: ["SipHash"], path: "sources"),
        .testTarget(name: "BigIntTests", dependencies: ["BigInt"], path: "tests")
    ],
    swiftLanguageVersions: [4]
)

--- 
+++ 
@@ -12,8 +12,7 @@
 let package = Package(
     name: "BigInt",
     products: [
-        .library(name: "BigInt", type: .dynamic, targets: ["BigInt"]),
-        .library(name: "BigInt", type: .static, targets: ["BigInt"])
+        .library(name: "BigInt", targets: ["BigInt"])
     ],
     dependencies: [
         .package(url: "https://github.com/attaswift/SipHash", from: "1.2.0")
Fix semantically broken package config

Don't define a static & dynamic library product with the same name. Just define a single library with no specified type.
