Add a native iOS client for relay-based file sharing

The SwiftUI app bundles the Go swarm engine through gomobile, so an iPhone is a real peer using the existing PAKE handshake, chunk verification, and relay fallback. XcodeGen builds the project and devicectl installs it on the paired phone.
This commit is contained in:
2026-10-26 22:24:47 +08:00
parent 29fa4a4c44
commit 9a37e93cfc
23 changed files with 2458 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
module github.com/tzgyn/share/apps/ios/GoBridge
go 1.26.0
tool golang.org/x/mobile/cmd/gobind
require github.com/tzgyn/share v0.0.0
require (
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/kalafut/imohash v1.1.1 // indirect
github.com/magisterquis/connectproxy v0.0.0-20200725203833-3582e84f0c9b // indirect
github.com/minio/highwayhash v1.0.4 // indirect
github.com/twmb/murmur3 v1.1.8 // indirect
golang.org/x/crypto v0.58.0 // indirect
golang.org/x/mobile v0.0.0-20261011034528-197770444867 // indirect
golang.org/x/mod v0.42.0 // indirect
golang.org/x/net v0.61.0 // indirect
golang.org/x/sync v0.24.0 // indirect
golang.org/x/sys v0.49.0 // indirect
golang.org/x/tools v0.52.0 // indirect
)
replace github.com/tzgyn/share => ../../..