3 Commits

Author SHA1 Message Date
e8fb70abd8 fix(ci): add WiFi network install as fallback
Some checks failed
PR → Build → USB Deploy → LGTM / Build & Deploy to iPhone via USB (pull_request) Failing after 5m51s
PR → Build → USB Deploy → LGTM / Wait for LGTM comment (pull_request) Has been skipped
2026-06-27 22:21:58 +00:00
4fa0d891bb fix(ci): replace Firebase OTA with USB direct deploy 2026-06-27 22:20:18 +00:00
44790bb659 fix(ci): use Release + archive/export for Firebase OTA distribution
- Switch from Debug build to Release archive with xcodebuild archive
- Use xcodebuild -exportArchive with ad-hoc exportOptions.plist for
  proper Ad Hoc distribution signing (required for Firebase OTA installs)
- Fix CFBundleVersion mismatch in Info.plist (1 → 2) to match project.yml
- Create Config/exportOptions.plist with method=ad-hoc and team 2MJF39L8VY

Previously Debug builds produced a Development provisioning profile that
doesn't include the tester's iPhone UDID, causing 'cannot be installed'.
2026-06-27 22:11:35 +00:00
2 changed files with 6 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
# =============================================================================
# TabataGo — PR → Build → WiFi/USB Direct Deploy → Wait LGTM → Merge
# TabataGo — PR → Build → USB Direct Deploy → Wait LGTM → Merge
# =============================================================================
name: PR → Build → WiFi/USB Deploy → LGTM
name: PR → Build → USB Deploy → LGTM
on:
pull_request:
@@ -16,7 +16,7 @@ permissions:
jobs:
build-deploy:
name: Build & Deploy to iPhone (WiFi/USB)
name: Build & Deploy to iPhone via USB
runs-on: macos
timeout-minutes: 20
@@ -102,7 +102,7 @@ jobs:
- name: Install to iPhone (WiFi → USB fallback)
run: |
UDID="00008120-000925CE3672201E"
APP=$(find build/derived -name 'TabataGo.app' -type d | head -1)
APP=$(find ../build/derived -name 'TabataGo.app' -type d | head -1)
# 1. Try WiFi first (Xcode 15+ devicectl network discovery)
echo "📱 Trying WiFi install via devicectl..."
@@ -133,7 +133,7 @@ jobs:
curl -s -X POST \
-H "Authorization: token ${GT_TOKEN}" \
-H "Content-Type: application/json" \
-d "{\"body\":\"## 📱 Prêt à tester !\\n\\nL'app est déployée sur l'iPhone (USB/WiFi).\\n\\n- Teste les changements\\n- Reply **LGTM** pour merger\\n- Reply **KO** pour bloquer\"}" \
-d "{\"body\":\"## 📱 Prêt à tester !\\n\\nL'app est déployée sur l'iPhone (USB).\\n\\n- Teste les changements\\n- Reply **LGTM** pour merger\\n- Reply **KO** pour bloquer\"}" \
"${GITEA_URL}/api/v1/repos/${REPO}/issues/${PR}/comments"
wait-approval:

View File

@@ -28,7 +28,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>NSHealthShareUsageDescription</key>
<string>TabataGo reads your health data to show fitness stats and personalize your workouts.</string>
<key>NSHealthUpdateUsageDescription</key>