[#514] Tuist generated file 추적 정책을 정리한다#516
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 연관된 이슈
🎯 의도
Tuist 기반 생성 산출물 중 리포지토리에 상시 추적할 대상과 재생성 가능한 generated file을 분리하고,
tuist generate --no-open이후에도 불필요한Derived산출물에 의존하지 않는 상태로 정리하기 위함📝 작업 내용
📌 요약
infoPlist: .default사용 제거Info.plist추가Derived/InfoPlists,Derived/Sources참조 제거tuist generate --no-open후 diff clean, build 성공 상태 확인🔍 상세
Tuist/ProjectDescriptionHelpers/Project+Templates.swift에서 framework / unit test 타깃이 공용 plist 파일을 직접 참조하도록 수정Application/DevLogCore,DevLogDomain,DevLogData,DevLogInfra,DevLogPersistence,DevLogPresentation,Widget/DevLogWidgetCore의Project.swift에 공용 plist 경로 반영Application/DevLogApp/Project.swift의 test target도infoPlist: .default대신 공용 unit test plist 경로를 사용하도록 변경Widget/DevLogWidgetExtension/Project.swift는Resource/Info.plist를 직접 사용하고,disableBundleAccessors,disableSynthesizedResourceAccessors를true로 변경.xcodeproj/project.pbxproj파일들을 재생성tuist generate --no-opengit diff --exit-codeDevLog.xcworkspaceDevLogAppsimulator build 성공📸 영상 / 이미지 (Optional)