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:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# Install the signed device build on a paired iPhone and launch it.
|
||||
# Usage: ./run-device.sh [device-name-or-udid]
|
||||
set -euo pipefail
|
||||
|
||||
DEVICE="${1:-FeelsCringeMan}"
|
||||
APP="/tmp/share-dd-device/Build/Products/Debug-iphoneos/Share.app"
|
||||
|
||||
if [[ ! -d "$APP" ]]; then
|
||||
echo "No device build at $APP. Run ./build.sh device first." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
xcrun devicectl device install app --device "$DEVICE" --timeout 180 "$APP"
|
||||
xcrun devicectl device process launch --device "$DEVICE" dev.tzgyn.share
|
||||
Reference in New Issue
Block a user