Stabilize iOS/watchOS/tvOS apps and add cross-platform audit remediation

This commit is contained in:
Trey t
2026-02-11 12:54:40 -06:00
parent e40275e694
commit acce712261
77 changed files with 2940 additions and 765 deletions

23
scripts/smoke/build_watch.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
cd "$ROOT_DIR"
LOG_FILE="${TMPDIR:-/tmp}/werkout_smoke_watch.log"
set -o pipefail
xcodebuild -project iphone/Werkout_ios.xcodeproj \
-scheme 'Werkout_watch Watch App' \
-configuration Debug \
-destination 'generic/platform=watchOS' \
-derivedDataPath /tmp/werkout_smoke_watch_dd \
CODE_SIGNING_ALLOWED=NO \
build 2>&1 | tee "$LOG_FILE"
FILTERED_ISSUES="$(rg -n "warning:|error:" "$LOG_FILE" | rg -v "Metadata extraction skipped. No AppIntents.framework dependency found." || true)"
if [[ -n "$FILTERED_ISSUES" ]]; then
echo "watchOS build produced warnings/errors. See $LOG_FILE" >&2
echo "$FILTERED_ISSUES" | sed -n '1,120p' >&2
exit 1
fi