Tuist 설치
다운로드 방법
- 프로젝트를 시작하는 방법
curl -Ls https://install.tuist.io | bash
다운로드 취소 방법
- 다운로드를 된
tuist를 삭제하는 방법
curl -Ls https://raw.githubusercontent.com/tuist/tuist/main/script/uninstall | bash
파일을 만드는 방법
mkdir MyApp
파일 찾아가는 방법
cd MyApp
Tuist 기본 init 하는 방법
tuist init을 실행하면 위와 같은 파일들이 자동 생성됩니다
UIKit
tuist init --platform ios
UIkit을 개발할 수 있는 환경으로 Tuist를 만들어줍니다.
SwiftUI
tuist init --platform ios --template swiftui
SwiftUI을 개발할 수 있는 환경으로 Tuist를 만들어줍니다.
Tuist 모듈 수정 방법
tuist edit
명령어를 치게 되면 자동으로 xcode가 열립니다. 여기서 project.swift이 구조를 정해주는 모듈 파일입니다. project 파일을 수정해서 모듈 구조를 변경할 수 있습니다.
Tuist 프로젝트 생성 방법
tuist generate
xcodeprej와xcworkspace파일이 생긴다.
tuist generate가 성공하면 파일을 실행할 준비가 된 상태입니다.