使用 Xcode 包集成的生成项目
使用 Xcode 包集成的生成项目 {#generated-project-with-xcode-based-integration}
Section titled “使用 Xcode 包集成的生成项目 {#generated-project-with-xcode-based-integration}”如果你是 Tuist 项目中使用
import ProjectDescription
let project = Project( name: "MyProject", packages: [ // 源代码控制解析 // .package(url: "https://github.com/pointfreeco/swift-composable-architecture", from: "0.1.0") // 注册表解析 .package(id: "pointfreeco.swift-composable-architecture", from: "0.1.0") ], targets: [ .target( name: "App", product: .app, bundleId: "dev.tuist.App", dependencies: [ .package(product: "ComposableArchitecture"), ] ) ])