# 使用 Xcode 软件包集成生成项目{#generated-project-with-xcode-based-integration}

如果您使用
<LocalizedLink href="/guides/features/projects/dependencies#xcodes-default-integration">Xcode 的默认集成</LocalizedLink>将软件包与 Tuist 项目集成，则在添加软件包时需要使用注册表标识符而不是 URL：
```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")
    ],
    targets: [
        .target(
            name: "App",
            product: .app,
            bundleId: "dev.tuist.App",
            dependencies: [
                .package(product: "ComposableArchitecture"),
            ]
        )
    ]
)
```
