mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-16 23:29:32 +00:00
18 lines
436 B
Bash
Executable File
18 lines
436 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
DEVICE_UDID="${1:-00008130-000630CE0146001C}"
|
|
BUNDLE_ID="${2:-ai.openclaw.ios.dev.mariano.test}"
|
|
DEST="${3:-/tmp/openclaw-gateway.log}"
|
|
|
|
xcrun devicectl device copy from \
|
|
--device "$DEVICE_UDID" \
|
|
--domain-type appDataContainer \
|
|
--domain-identifier "$BUNDLE_ID" \
|
|
--source Documents/openclaw-gateway.log \
|
|
--destination "$DEST" >/dev/null
|
|
|
|
echo "Pulled to: $DEST"
|
|
tail -n 200 "$DEST"
|
|
|