Skip to content

[#514] Tuist generated file 추적 정책을 정리한다#516

Merged
opficdev merged 1 commit into
developfrom
fix/#514-tuist
Jun 2, 2026
Merged

[#514] Tuist generated file 추적 정책을 정리한다#516
opficdev merged 1 commit into
developfrom
fix/#514-tuist

Conversation

@opficdev

@opficdev opficdev commented Jun 2, 2026

Copy link
Copy Markdown
Owner

🔗 연관된 이슈

🎯 의도

Tuist 기반 생성 산출물 중 리포지토리에 상시 추적할 대상과 재생성 가능한 generated file을 분리하고, tuist generate --no-open 이후에도 불필요한 Derived 산출물에 의존하지 않는 상태로 정리하기 위함

📝 작업 내용

📌 요약

  • infoPlist: .default 사용 제거
  • 공용 framework / unit test용 plist 추가
  • Widget extension용 명시적 Info.plist 추가
  • Widget extension의 synthesized resource / bundle accessor 생성 비활성화
  • Tuist 재생성 결과에서 Derived/InfoPlists, Derived/Sources 참조 제거
  • generated/cache 산출물 없이도 tuist generate --no-open 후 diff clean, build 성공 상태 확인

🔍 상세

  • Tuist/ProjectDescriptionHelpers/Project+Templates.swift에서 framework / unit test 타깃이 공용 plist 파일을 직접 참조하도록 수정
  • Application/DevLogCore, DevLogDomain, DevLogData, DevLogInfra, DevLogPersistence, DevLogPresentation, Widget/DevLogWidgetCoreProject.swift에 공용 plist 경로 반영
  • Application/DevLogApp/Project.swift의 test target도 infoPlist: .default 대신 공용 unit test plist 경로를 사용하도록 변경
  • Widget/DevLogWidgetExtension/Project.swiftResource/Info.plist를 직접 사용하고, disableBundleAccessors, disableSynthesizedResourceAccessorstrue로 변경
  • 위 변경에 맞춰 생성된 .xcodeproj/project.pbxproj 파일들을 재생성
  • 검증:
    • tuist generate --no-open
    • git diff --exit-code
    • DevLog.xcworkspace DevLogApp simulator build 성공

📸 영상 / 이미지 (Optional)

@opficdev opficdev self-assigned this Jun 2, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이번 풀리퀘스트는 여러 타깃의 Info.plist 설정을 Application/Shared/InfoPlists 경로의 공통 파일(Framework-Info.plist, UnitTests-Info.plist)로 중앙화하고, Tuist 프로젝트 템플릿(Project+Templates.swift)을 수정하여 이를 참조하도록 개선했습니다. 리뷰어 피드백에서는 테스트가 없는 타깃에서 불필요한 인자 전달을 방지하기 위해 testsInfoPlistPath를 옵셔널 타입(Path? = nil)으로 변경하고 관련 설정을 간소화할 것을 제안했습니다.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread Tuist/ProjectDescriptionHelpers/Project+Templates.swift
Comment thread Tuist/ProjectDescriptionHelpers/Project+Templates.swift
Comment thread Application/DevLogCore/Project.swift
@opficdev opficdev merged commit fbc0732 into develop Jun 2, 2026
1 check passed
@opficdev opficdev deleted the fix/#514-tuist branch June 2, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tuist generated file 추적 정책을 정리한다

1 participant