코드네임 :

🍏 Tuist (맨 아래 프로젝트 파일 생성 명령어들 써놓음) 본문

👥Club/🍀UMC🍀

🍏 Tuist (맨 아래 프로젝트 파일 생성 명령어들 써놓음)

비엔 Vien 2025. 3. 19. 21:35

Tuist란??

 Xcode 프로젝트 파일을 코드 기반으로 관리할 수 있도록 도와주는 도구

걍.. 큰 프로젝트 할때 쓰면 좋은 거 인듯

 

미제를 깔고 튜이스트를 깔자

https://github.com/jdx/mise

 

GitHub - jdx/mise: dev tools, env vars, task runner

dev tools, env vars, task runner. Contribute to jdx/mise development by creating an account on GitHub.

github.com

 

curl https://mise.run | sh
~/.local/bin/mise --version


난 이거 중간에 해야 했음
➜  ~ git:(main) ✗ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
➜  ~ git:(main) ✗ source ~/.zshrc


mise install tuist
echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc  
mise use --global node@20

node -v
>> v22.14.0

mise use -g tuist@system


이뒤에 tuist 심볼릭 링크 설정하는거도 했음 근데 터미널 꺼버려서 사라짐 ㅎ

 

 

 

⭐️ 대망의 파일 만드는 법 ⭐️

➜  ~ git:(main) ✗ cd /Users/vien/Desktop


➜  Desktop git:(main) ✗ cd ios


➜  ios git:(main) ✗ tuist init
✔︎ Start: Create a generated project 
✔︎ Name: UMC_Tuist_test 
✔︎ Platform: iOS 
✔︎ Generated project created [0.9s]
◉ Server
✔︎ Server: No 
▌ ✔ Success 
▌ You are all set to explore the Tuist universe 
▌
▌ Recommended next steps: 
▌  ▸ Choose the project directory with 'cd UMC_Tuist_test'
▌  ▸ Generate your project with 'tuist generate'
▌  ▸ Visualize your project graph with 'tuist graph'
▌  ▸ Learn more about how our platform capabilities



여기서 바로 tuist generate 하면 안되고 위에 recommended에 써있는대로 
➜  ios git:(main) ✗ cd UMC_Tuist_test


➜  UMC_Tuist_test git:(main) ✗ tuist generate
Loading and constructing the graph
It might take a while if the cache is empty
Using cache binaries for the following targets: 
Generating workspace UMC_Tuist_test.xcworkspace
Generating project UMC_Tuist_test
Total time taken: 1.259s
▌ ✔ Success 
▌ Project generated.

 

굿

'👥Club > 🍀UMC🍀' 카테고리의 다른 글

🍎 2주차 워크북  (0) 2025.03.24
🪶 깃허브에 올릴 때..  (0) 2025.03.23
🍎 1주차 과제  (0) 2025.03.20
🍎 1주차 워크북 - 문법 (이거 써야해)  (0) 2025.03.19
🍎 1주차 워크북 / 야 실습 내용 추가해  (0) 2025.03.19