Skip to content

Generated project with the Xcode package integration

If you are using the Xcode's default integration of packages with Tuist Projects, you need to use the registry identifier instead of a URL when adding a package:

swift
import ProjectDescription

let project = Project(
    name: "MyProject",
    packages: [
        // Source control resolution
        // .package(url: "https://github.com/pointfreeco/swift-composable-architecture", from: "0.1.0")
        // Registry resolution
        .package(id: "pointfreeco.swift-composable-architecture", from: "0.1.0")
    ],
    .target(
        name: "App",
        product: .app,
        bundleId: "io.tuist.App",
        dependencies: [
            .package(product: "ComposableArchitecture"),
        ]
    )
)

Released under the MIT License.