Skip to content

[#510] TCA 라이브러리 의존성을 추가한다#540

Merged
opficdev merged 4 commits into
developfrom
chore/#510-tca
Jun 4, 2026
Merged

[#510] TCA 라이브러리 의존성을 추가한다#540
opficdev merged 4 commits into
developfrom
chore/#510-tca

Conversation

@opficdev
Copy link
Copy Markdown
Owner

@opficdev opficdev commented Jun 4, 2026

🔗 연관된 이슈

🎯 의도

  • TCA를 DevLogPresentation 레이어에서 사용할 수 있도록 의존성 추가
  • SwiftLint SPM BuildToolPlugin과 TCA macro 의존성의 swift-syntax 해석 충돌을 피하기 위한 SwiftLint 실행 방식 정리

📝 작업 내용

📌 요약

  • DevLogPresentation package에 ComposableArchitecture 의존성 추가
  • SwiftLint SPM package/plugin 제거
  • Homebrew SwiftLint 기반 Tuist Run Script 추가
  • Sources/Tests별 SwiftLint config 적용
  • CI/TestFlight workflow에 SwiftLint 설치 단계 추가
  • README 로컬 개발 환경 설치 명령에 SwiftLint 추가

🔍 상세

  • SwiftLint를 SPM 의존성 그래프에서 제거하고 Homebrew binary 실행 방식으로 전환
  • Xcode GUI 빌드 환경에서도 SwiftLint를 찾을 수 있도록 /opt/homebrew/bin, /usr/local/bin PATH 명시
  • Sources는 각 target의 Sources/.swiftlint.yml 기반으로 lint 수행
  • Tests는 각 test target의 Tests/.swiftlint.yml 기반으로 lint 수행
  • Tests/.swiftlint.yml은 루트 .swiftlint-tests.yml을 parent config로 사용
  • SwiftLint Run Script가 필요한 target의 ENABLE_USER_SCRIPT_SANDBOXING 비활성화
  • TCA는 DevLogPresentation의 package/product 의존성으로만 추가

📸 영상 / 이미지 (Optional)

@opficdev opficdev self-assigned this Jun 4, 2026
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

Code Review

이번 풀 리퀘스트는 기존 SwiftLint 빌드 툴 플러그인 방식을 제거하고, 커스텀 빌드 스크립트(DevLogScripts.swiftLint)를 통해 SwiftLint를 실행하도록 전환하며, 이를 위해 사용자 스크립트 샌드박싱(ENABLE_USER_SCRIPT_SANDBOXING) 설정을 비활성화합니다. 또한 ComposableArchitecture 패키지 의존성이 새롭게 추가되었습니다. 피드백으로는 특정 디렉토리 내의 모든 Swift 파일에 대해 루프를 돌며 swiftlint 프로세스를 개별적으로 실행하는 방식이 빌드 성능을 저하시킬 수 있으므로, 파일 경로들을 배열로 수집하여 단 한 번만 프로세스를 실행하도록 개선하라는 의견이 제시되었습니다.

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+Packages.swift
@opficdev opficdev merged commit 5ee94f4 into develop Jun 4, 2026
5 checks passed
@opficdev opficdev deleted the chore/#510-tca branch June 4, 2026 15: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.

TCA 라이브러리 의존성을 추가한다

1 participant