Add an iPhone client sharing the macOS app's SwiftUI code

This commit is contained in:
Ian Gulliver
2026-10-21 22:00:54 -07:00
parent 57d660c57f
commit 9e81e9107d
46 changed files with 1625 additions and 287 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ The project is a Swift package built with `swift build`, not an Xcode project. I
Only the release configuration is built. A debug build stops at an `#error` in `ByreApp.swift`, and even a failed one leaves the next release build in the same build directory recompiling every target, since the two configurations share it. Release targets build whole-module, so a one-file change to `Byre` recompiles the whole target.
`mac/bundle.sh` builds TailscaleKit from `github.com/tailscale/libtailscale` at the commit pinned in the script (`libtailscale=`), once per commit, and bundles it in `Contents/Frameworks` like Sparkle's. To move to a newer libtailscale, change the pinned commit.
`mac/tailscalekit.sh` builds TailscaleKit from `github.com/tailscale/libtailscale` at the commit pinned in the script (`commit=`), once per commit, as one xcframework for macOS, iOS and the iOS simulator; `mac/bundle.sh` and `mac/phone.sh` both run it, and the Mac app bundles it in `Contents/Frameworks` like Sparkle's. To move to a newer libtailscale, change the pinned commit.
## Signing