기존 curl로 설치된 Tuist 제거
curl -Ls https://uninstall.tuist.io | bash
mise 설치
# mise 설치
curl https://mise.run | sh
# mise 버전확인
$ ~/.local/bin/mise --version
# 버전 확인
2024.11.16 macos-arm64 (d3ef69e 2024-11-18)
Shell 연결
- 본인 쉘 환경 체크
echo $SHELL
- 맞는걸로 아래에서 골라서 실행, 보통은 .zshrc임
# note this assumes mise is located at ~/.local/bin/mise
# which is what https://mise.run does by default
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
echo '~/.local/bin/mise activate fish | source' >> ~/.config/fish/config.fish
명령어 연결
eval "$(~/.local/bin/mise activate zsh)"
Node.js 설치 및 전역 설정
# 설치 및 설정
mise use --global node@20
# 버전 확인
$ node -v
# 버전 확인
v20.18.0
Tuist 설치
mise install tuist # 가장 최신 버전의 Tuist 설치
mise install tuist@x.y.z # 특정 버전의 Tuist설치
mise install tuist@3 # 퍼지 버전 번호를 사용하여, 버전 3으로 시작하는 tuist의 최신 버전을 설치
mise use tuist@x.y.z # 현재 프로젝트에서 tuist-x.y.z 버전을 사용하도록 설정
mise use -g tuist@x.y.z # 버전을 전역 기본값으로 사용하도록 설정합니다. -g 옵션은 전역(global) 설정을 의미
mise use tuist@latest # 현재 디렉토리에서 사용 가능한 tuist의 최신 버전을 사용하도록 설정합니다.
mise use -g tuist@system # 시스템에 설치된 tuist를 전역 기본값으로 사용하도록 설정합니다. -g 옵션은 여기서도 전역 설정
전역설정
mise use -g tuist
아래 에러발생 시 실행.
The following warnings need attention:
· Tuist/Config.swift is deprecated. Rename Tuist/Config.swift to Tuist.swift at the root.
Couldn't find Xcode's Info.plist at /Library/Contents/Info.plist. Make sure your Xcode installation is selected by running: sudo xcode-select -s /Applications/Xcode.app
Consider creating an issue using the following link: https://github.com/tuist/tuist/issues/new/choose
GitHub · Build and ship software on a single, collaborative platform
Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.
github.com
sudo xcode-select -s /Applications/Xcode.app
'iOS > SwiftUI + Combine' 카테고리의 다른 글
[SwiftUI][tuist] - 간단한 사용 (0) | 2022.04.23 |
---|---|
[SwiftUI][tuist] - tuist 설치 및 세팅 (0) | 2022.04.23 |