Switch to SPM from Pod

This commit is contained in:
Amir Mohammadi
2024-01-16 15:39:45 +03:30
parent f6f695bfc9
commit d424e60d0d
6 changed files with 62 additions and 12 deletions

26
Package.swift Normal file
View File

@@ -0,0 +1,26 @@
// swift-tools-version: 5.4
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Libcore",
platforms: [
.iOS(.v13) // Minimum platform version
],
products: [
.library(
name: "Libcore",
targets: ["Libcore"]),
],
dependencies: [
// No dependencies
],
targets: [
.binaryTarget(
name: "Libcore",
url: "https://github.com/hiddify/hiddify-next-core/releases/download/draft/hiddify-libcore-ios.xcframework.zip",
checksum: "70f84a51508898a706e72ab9eda4af8ab72c321bf79284b38313764b8f2091b2"
)
]
)