Support Tar Gz in SPM

Hi,

Swift Package Manager don't have support for tar.gz url?

My Package.swift:

// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "Nativium",
    products: [
        // Products define the executables and libraries a package produces, and make them visible to other packages.
        .library(
            name: "NativiumPackage",
            targets: ["Nativium"]),
    ],
    dependencies: [],
    targets: [
        .binaryTarget(name: "Nativium", url: "https://nativium.s3.amazonaws.com/dist/ios/1.0.0/dist.tar.gz", checksum: "")
    ]
)
1 Like