https://developer.apple.com/videos/play/wwdc2018/411/

SwiftPM은 그 자체로 Swift로 작성되었으며 심지어 Swift 패키지이기도 합니다. 그 외에도 Swift 언어 및 핵심 라이브러리 프로젝트와 긴밀히 협력하여 Swift 코드의 실행에 도움이 되는 훌륭한 패키지 관리자 기능을 구축할 수 있다.

SPM의 4가지 command line tools

Packages are stored in git repositories, and diversions are represented by git tags.

How to make it

0. 폴더 생성

1. swift package init —type executable

Untitled

  1. 폴더 만들기
  2. 해당 폴더로 이동 후 swift package init —type executable

생성된 파일들

Untitled