Skip to content

Tuist Migration 및 모듈화 #10

@hyeonghwan

Description

@hyeonghwan

Tuist Migration

  • 빌드 환경 , 프로젝트 환경을 tuist로 변경합니다.

  • tuist에서 cocoapod을 미지원하므로 기존에 spm + cocoapod 의 구성에서 cocopod을 제거해야합니다.

CocoaPods 과 같이 사용

pod은 추후에 제거할 예정이지만 현재 구성에서 사용할려면 tuist로 생성후 pod file을 명시해둔 상태에서
pod install을 해야합니다.

  • tuist generate --no-open && pod install && open {project}.xcworkspace

프로젝트 설정

  • tuist edit
  • tuist clean ( 의존성 clean )
  • tuist fetch (원격 의존성 패키지 가져오기)
  • tuist generate (work space 생성)
  • tuist graph (의존성 그래프 생성)

모듈화 단계

  • 현재 App 에 집중되어 있는 파일들을 모듈화하여 프로젝트를 분리합니다.
  • 현재 사용되는 객체들은 Flow coordinator 에서 생성및 의존성을 주입합니다.
    -> Swinject 라이브러리를 사용하여 app의 의존성을 관리하도록 변경합니다.
  • 하위 단계 부터 하나씩 분리합니다. Util 성 network, graphQL, core Data ) etc..

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions