# 빌드/테스트/검증 가이드 `SodaLive` 저장소에서 확인된 빌드, 테스트, 검증 명령의 공식 진입점이다. 명령/경로/타깃명이 바뀌면 이 문서와 `AGENTS.md` 참조를 함께 갱신한다. ## 1) 의존성 설치 - `pod install` - 근거: `Podfile`에 CocoaPods 타깃(`SodaLive`, `SodaLive-dev`) 정의. ## 2) 스킴/타깃 확인 - `xcodebuild -workspace "SodaLive.xcworkspace" -list` - 근거: 공유 스킴 `SodaLive`, `SodaLive-dev` 존재. ## 3) 빌드 - `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" -configuration Debug build` - `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive-dev" -configuration Debug build` ## 4) 테스트(전체) - `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" test` - `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive-dev" test` ## 5) 단일 테스트 실행 - 일반 형식(테스트 타깃이 있는 경우): - `xcodebuild -workspace "SodaLive.xcworkspace" -scheme "SodaLive" -only-testing:"SodaLiveTests/TestClass/testMethod" test` - **현재 주의사항**: - `SodaLive.xcodeproj/project.pbxproj` 기준으로 앱 타깃 중심 구성이고 테스트 번들 타깃이 확인되지 않는다. - 따라서 현재 상태에서는 단일 테스트 지정이 실질적으로 동작하지 않을 수 있다. ## 6) 린트/포맷 - 저장소에 공식 `swiftlint`/`swiftformat` 실행 스크립트는 확인되지 않았다. - `generated/*.generated.swift`에 `swiftlint:disable all` 주석은 존재하나, 이는 생성 코드 보호 목적이다. - 린트 도구를 도입/추가하면 이 문서와 `AGENTS.md`를 즉시 갱신한다.