feat: Phase 1 mobile tablet — Jenkins APK, PC tab, in-app update

Capacitor 확장으로 git push 시 Mobile Jenkins 빌드, PC 탭 Android/iPad 다운로드,
앱 내 APK 업데이트, iOS TestFlight API 및 Capacitor ios 프로젝트를 추가한다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-14 16:31:55 +09:00
parent 36c06b55ea
commit f34104b721
38 changed files with 1468 additions and 15 deletions
+38
View File
@@ -0,0 +1,38 @@
# iPad — Capacitor iOS / TestFlight
## 사전 요구
- macOS + Xcode
- Apple Developer Program ($99/년)
- CocoaPods: `brew install cocoapods`
## iOS 프로젝트 생성 (최초 1회)
```bash
cd app
npm run cap:sync
npx cap add ios
npx cap open ios
```
Xcode에서 **Signing & Capabilities** → Team 선택, Bundle ID `com.goldenchart.app`.
## TestFlight 업로드
1. Xcode → Product → Archive
2. Organizer → Distribute App → App Store Connect → Upload
3. App Store Connect → TestFlight → 내부/외부 테스터 초대
4. 초대 URL을 서버 `.env`에 설정:
```env
GC_MOBILE_APP_IOS_TESTFLIGHT_URL=https://testflight.apple.com/join/XXXXXXXX
```
5. `docker compose up -d --no-deps backend` (또는 deploy)
PC 프로그램 탭과 `/api/mobile-app/info``iosTestFlightUrl`에 반영됩니다.
## 참고
- App Store/TestFlight 배포 앱은 **ipa 직접 다운로드·앱 내 APK식 updater 불가**
- iPad와 iPhone은 동일 iOS 빌드 사용 가능 (UI 반응형)