-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
27 lines (25 loc) · 900 Bytes
/
Package.swift
File metadata and controls
27 lines (25 loc) · 900 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
// swift-tools-version:5.9
//
// `main` ships with a local `binaryTarget(path:)` so the package
// resolves directly against the on-disk xcframework — run
// `Scripts/build.sh` once, then `.package(path: "../EverywhereCore")`
// works in both consuming apps without a network round-trip.
//
// `Scripts/release.sh vX.Y.Z` rewrites this file to use
// `binaryTarget(url:, checksum:)` on the tagged commit only, then
// restores this version on `main`. Tagged consumers resolve against
// the GitHub Release asset; `main` consumers stay on the local path.
import PackageDescription
let package = Package(
name: "EverywhereCore",
platforms: [
.iOS(.v15),
.macOS(.v13),
],
products: [
.library(name: "EverywhereCore", targets: ["EverywhereCore"]),
],
targets: [
.binaryTarget(name: "EverywhereCore", path: "EverywhereCore.xcframework"),
]
)