Skip to content

Commit

Permalink
Added Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyubo committed Nov 20, 2020
1 parent bd79084 commit 536e93a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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: "OpenSSL",
products: [
.library(
name: "OpenSSL",
targets: ["OpenSSL"]),
],
dependencies: [
],
targets: [
.binaryTarget(
name: "OpenSSL",
url: "https://github.com/codinn/openssl-apple/releases/download/1.1.1h/OpenSSL.xcframework.zip",
checksum: "83e4dfd08a48a6015ac9f7e355b6e549a787380961cbd323a861cc82bb771e39"
),
]
)

/*
xcframework successfully written out to: frameworks/OpenSSL.xcframework
83e4dfd08a48a6015ac9f7e355b6e549a787380961cbd323a861cc82bb771e39
*/

0 comments on commit 536e93a

Please sign in to comment.