switch to local spm

This commit is contained in:
Amir Mohammadi
2024-01-17 15:43:38 +03:30
parent 2e47a1f628
commit fd34690d49
3 changed files with 50 additions and 30 deletions

27
ios/Package.swift Normal file
View File

@@ -0,0 +1,27 @@
// 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: [
// Minimum platform version
.iOS(.v13),
.tvOS(.v13)
],
products: [
.library(
name: "Libcore",
targets: ["Libcore"]),
],
dependencies: [
// No dependencies
],
targets: [
.binaryTarget(
name: "Libcore",
path: "Frameworks/Libcore.xcframework"
)
]
)