Configure binary Target from "http" schemes

Xcode 12.2/swift 5.3.1
i am trying adding:

name: "PackageName",
url: "http://MyLibraryRepo.domen/",
checksum: "checkSum_value"

All values ​​are not real, given only for clarity.

Im getting error from xcode: Invalid URL scheme for binary target 'MyLibrary'; valid schemes are: https

We want to use the http repo, can we do something about it?

Thanks for any help/guidance in advance!

HTTP is inherently insecure.

You could download the binary and upload it to a server that supports HTTPS..

Okay, workaround for me.

I'm created swift package with dependencies binaryTarget


let package = Package(
    name: "PackageName",
    platforms: [.iOS(.v10)],
    products: [
            name: "PackageName"
            targets: ["PackageName", "MyLibrary"]),
    dependencies: [],
    targets: [
            name: "MyLibrary",
            dependencies: []),
            name: "MyLibrary",
            path: "./MyLibrary.xcframework")

and used this package

Terms of Service

Privacy Policy

Cookie Policy