11// swift-tools-version:5.9
22//
3- // Auto-generated for the v2026.06.25 release by
4- // .github/workflows/upstream-watch.yml. The `main` branch
5- // keeps a local `binaryTarget(path:)` variant for in-tree
6- // development; this variant lives only on the tag.
3+ // `main` ships with a local `binaryTarget(path:)` so the package
4+ // resolves directly against the on-disk xcframework — run
5+ // `Scripts/build.sh` once, then `.package(path: "../EverywhereCore")`
6+ // works in both consuming apps without a network round-trip.
7+ //
8+ // `Scripts/release.sh vX.Y.Z` rewrites this file to use
9+ // `binaryTarget(url:, checksum:)` on the tagged commit only, then
10+ // restores this version on `main`. Tagged consumers resolve against
11+ // the GitHub Release asset; `main` consumers stay on the local path.
712
813import PackageDescription
914
@@ -17,10 +22,6 @@ let package = Package(
1722 . library( name: " EverywhereCore " , targets: [ " EverywhereCore " ] ) ,
1823 ] ,
1924 targets: [
20- . binaryTarget(
21- name: " EverywhereCore " ,
22- url: " https://github.com/NodePassProject/EverywhereCore/releases/download/v2026.06.25/EverywhereCore-v2026.06.25.xcframework.zip " ,
23- checksum: " bc52a79ea3758ab07050d76e8f7ad4451567f2c8a1bc9a55c51ee7ca7d5d1422 "
24- ) ,
25+ . binaryTarget( name: " EverywhereCore " , path: " EverywhereCore.xcframework " ) ,
2526 ]
26- )
27+ )
0 commit comments