SPB Git

spb/os-vault Public

Self-custody, multi-chain crypto wallet for macOS. One recovery phrase, six chain families, zero API keys — nothing leaves your Mac.

Swift 96% Shell 3.4% Makefile 0.6%
1.2 KB · 41 lines swift
Raw Blame History
1// swift-tools-version:5.102// Auto-generated by scripts/vendor-walletcore.sh — do not edit by hand.3// The prebuilt static framework is exposed as a local binaryTarget (no4// unsafeFlags — those would make the package unusable as a dependency).5import PackageDescription67let package = Package(8    name: "WalletCoreSPM",9    platforms: [.macOS(.v13)],10    products: [11        .library(name: "WalletCore", targets: ["WalletCore"])12    ],13    dependencies: [14        .package(url: "https://github.com/apple/swift-protobuf.git", from: "1.29.0")15    ],16    targets: [17        .binaryTarget(18            name: "WalletCoreBinary",19            path: "WalletCoreCommon.xcframework"20        ),21        .target(22            name: "WalletCoreC",23            dependencies: ["WalletCoreBinary"],24            path: "Sources/WalletCoreC",25            publicHeadersPath: "include"26        ),27        .target(28            name: "WalletCore",29            dependencies: [30                "WalletCoreC",31                .product(name: "SwiftProtobuf", package: "swift-protobuf")32            ],33            path: "Sources/WalletCore",34            linkerSettings: [35                .linkedLibrary("c++"),36                .linkedFramework("Security")37            ]38        )39    ]40)41