-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
30 lines (28 loc) · 980 Bytes
/
Package.swift
File metadata and controls
30 lines (28 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// swift-tools-version: 5.11
import PackageDescription
let package = Package(
name: "BindJS",
platforms: [
.iOS(.v17),
.macOS(.v14),
.visionOS(.v1)
],
products: [
.library(name: "BindJS", targets: ["BindJS", "BindJSDependencies"]),
],
dependencies: [
// GLTFKit2 is a binary framework that must be provided separately
// (SVGViewKit is statically linked into BindJS.framework, so not needed here)
.package(url: "https://github.com/warrenm/GLTFKit2", exact: "0.5.14")
],
targets: [
.binaryTarget(
name: "BindJS",
url: "https://github.com/yapstudios/bindjs-apple-binary/releases/download/1.0.15/BindJS.xcframework.zip",
checksum: "7148b7511edaff97210e4e9957396b8bf70b242e7d79de9b898f9737626419af"
),
.target(name: "BindJSDependencies", dependencies: [
.product(name: "GLTFKit2", package: "GLTFKit2")
]),
]
)