This package vends prebuilt DanceUIGraph and DanceUIRuntime XCFrameworks for SwiftPM consumers.
The SwiftPM wrapper lives in OpenSwiftUIProject/DanceUIGraph-spm. The binary XCFramework release assets are hosted on OpenSwiftUIProject/DanceUIGraph.
The binary artifacts support:
- iOS device:
ios-arm64, iOS 13.0+ - iOS Simulator:
ios-arm64_x86_64-simulator, iOS 13.0+ - macOS:
macos-arm64_x86_64, macOS 10.15+
Add the package dependency:
.package(
url: "https://github.com/OpenSwiftUIProject/DanceUIGraph-spm.git",
from: "0.0.3"
)Then depend on the DanceUIGraph product:
.target(
name: "YourTarget",
dependencies: [
.product(name: "DanceUIGraph", package: "DanceUIGraph-spm"),
],
linkerSettings: [
.linkedLibrary("c++"),
.linkedLibrary("z"),
]
)The artifacts are built from sibling checkouts of DanceUIGraph, DanceUIRuntime, and DanceUIDependencies with:
cd ../DanceUIGraph
SKIP_POD_INSTALL=1 scripts/build-xcframework.sh