XCode 9

[SwiftUI][tuist, mise] - 설치, 2024기준

기존 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 defaultecho 'eval "$(~/.local/bin/mise..

[SwiftUI][tuist] - 간단한 사용

tuist edit, tuist fetch, tuist generate 위 3개 명령어만 알고있으면 일단 세팅된 tuist내에서 이용이 가능하다. tuist edit - 라이브러리, plist 변경, 프로젝트 세팅 변경이 필요할때 사용 tuist fetch - 변경사항이 있을때 사용 - 특히 git에서 처음 내려받았을 때 fetch 후 generate를 해야 에러가 안난다. tuist generate - .xcodeproj, .xcworkspace 생성 및 설정 적용 및 xcode 실행 - Sources내에 폴더, 파일추가의 경우는 generate로 가능하고 라이브러리 추가는 fetch 후 generate 하면 된다.

[SwiftUI][tuist] - tuist 설치 및 세팅

SwiftUI 기준이다. 참고 : https://docs.tuist.io/tutorial/get-started/ Get started | Tuist Documentation Learn how to install Tuist in your environment and generate your first project. docs.tuist.io tuist 설치 curl -Ls https://install.tuist.io | bash 폴더생성 mkdir MyApp cd MyApp 프로젝트 생성 tuist init --platform ios --template swiftui Project.swift 수정 tuist edit tuist edit을 실행하여 Project.swift를 수정하자. 설치할 library ..

SPM(Swift Package Manager)을 이용해보자.

'Then' 라이브러리를 SPM를 이용하여 설치해보자. 참고 : github.com/devxoul/Then devxoul/Then ✨ Super sweet syntactic sugar for Swift initializers - devxoul/Then github.com 1. Project > Swift Packages에서 + 클릭하거나 File > Swift Packages > Add Package Dependecy를 클릭 2. 'Then' 라이브러리 사이트에서 Using Swift Package Manager에 있는 url를 붙여넣는다. 3. 원하는 버전으로 수정가능 후 Next 4. 설치 후에 하단에 Swift Package Dependencies가 생기는걸 확인가능

iOS/Etc 2021.04.19