Fix: Use local Swift Package (LibboxLocal) with binaryTarget for Libbox.xcframework

This commit is contained in:
2026-07-02 22:50:37 +08:00
parent 20b794122c
commit 621e34cc6a
63 changed files with 4635 additions and 6 deletions
@@ -0,0 +1,16 @@
// swift-tools-version: 5.7
import PackageDescription
let package = Package(
name: "LibboxLocal",
platforms: [.iOS(.v15), .macOS(.v13), .tvOS(.v17)],
products: [
.library(name: "Libbox", targets: ["Libbox"]),
],
targets: [
.binaryTarget(
name: "Libbox",
path: "Libbox.xcframework"
),
]
)