Use Tuist with a Swift Package
Using Tuist with a Swift Package
Section titled “Using Tuist with a Swift Package ”Tuist supports using Package.swift as a DSL for your projects and it converts your package targets into a native Xcode project and targets.
Using Tuist with a Swift Package
Section titled “Using Tuist with a Swift Package”We are going to use Tuist with the TootSDK Package repository, which contains a Swift Package. The first thing that we need to do is to clone the repository:
git clone https://github.com/TootSDK/TootSDKcd TootSDKOnce in the repository’s directory, we need to install the Swift Package Manager dependencies:
tuist installUnder the hood tuist install uses the Swift Package Manager to resolve and pull the dependencies of the package.
After the resolution completes, you can then generate the project:
tuist generateVoilà! You have a native Xcode project that you can open and start working on.