fix: Dynamic Island, Live Activity errors, background audio stop, CFBundleVersion #9
10
.github/workflows/pr-iphone-deploy.yml
vendored
10
.github/workflows/pr-iphone-deploy.yml
vendored
@@ -106,18 +106,15 @@ jobs:
|
||||
|
||||
# 1. Try WiFi first (Xcode 15+ devicectl network discovery)
|
||||
echo "📱 Trying WiFi install via devicectl..."
|
||||
xcrun devicectl device install app --device "$UDID" "$APP" > /tmp/devicectl.log 2>&1
|
||||
DEVICECTL_EXIT=$?
|
||||
tail -10 /tmp/devicectl.log
|
||||
if [ $DEVICECTL_EXIT -eq 0 ]; then
|
||||
if xcrun devicectl device install app --device "$UDID" "$APP" > /tmp/devicectl.log 2>&1; then
|
||||
echo "✅ Installed via WiFi"
|
||||
exit 0
|
||||
fi
|
||||
tail -10 /tmp/devicectl.log
|
||||
|
||||
# 2. Fallback to USB via ios-deploy
|
||||
echo "🔌 WiFi failed, trying USB..."
|
||||
ios-deploy --bundle "$APP" --id "$UDID" --justlaunch
|
||||
if [ $? -eq 0 ]; then
|
||||
if ios-deploy --bundle "$APP" --id "$UDID" --justlaunch; then
|
||||
echo "✅ Installed via USB"
|
||||
exit 0
|
||||
fi
|
||||
@@ -125,6 +122,7 @@ jobs:
|
||||
echo "❌ Install failed (both WiFi and USB)"
|
||||
exit 1
|
||||
|
||||
|
||||
- name: Post "Ready to test" comment
|
||||
env:
|
||||
GT_TOKEN: ${{ secrets.PR_API_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user