xcodebuild로 프로젝트 빌드 시간 측정하는 방법 본문
전체 빌드 타이밍 출력
xcodebuild \
-workspace "App명".xcworkspace \
-scheme "Scheme명" \
-configuration "Debug/Release중 선택" \
-destination 'generic/platform=iOS' \
build \
-showBuildTimingSummary포메팅 해서 보는 방법
TIMEFORMAT=$'\n⏱ Total build time: %3R seconds'
time xcodebuild \
-workspace "App명".xcworkspace \
-scheme "Scheme명" \
-configuration Debug \
-destination 'generic/platform=iOS' \
build > /dev/null스킴 보는 방법
xcodebuild -workspace "Workspace명".xcworkspace -list
xcodebuild -project "Project명".xcodeproj -list빌드 기기 설정
-destination 'generic/platform=iOS' # iOS 앱
-destination 'generic/platform=iOS Simulator' # 시뮬레이터
-destination 'generic/platform=macOS' # macOS 타깃
-destination 'generic/platform=watchOS' # watchOS
-destination 'generic/platform=tvOS' # tvOS
-destination 'platform=iOS Simulator,name=iPhone 15,OS=18.0' # 특정 시뮬레이터 버전으로 빌드
xcrun simctl list devices # 설치된 디바이스 목록 조회
'iOS Technologies' 카테고리의 다른 글
| iOS App SandBox (0) | 2025.11.08 |
|---|---|
| Workspace에서 Embed 전략 (0) | 2025.10.20 |
| [Widget Extension #1] 최신 데이터 갱신 (3) | 2025.08.13 |
| App Extension #1 (4) | 2025.06.05 |
| UIResponder & UIEvent & UITouch (0) | 2025.05.24 |
Comments