Skip to content

[Feature] Dependencies 추가 불편 해소 #5

@Peter1119

Description

@Peter1119
let project = Project(
    name: "BookSeriesApp",
    targets: [
        .target(
            name: "BookSeriesApp",
            destinations: .iOS,
            product: .app,
            bundleId: "com.testdev.bookseriesapp",
            infoPlist: .extendingDefault(with: [
                "UILaunchStoryboardName": "LaunchScreen",
                "UIApplicationSceneManifest": [
                    "UIApplicationSupportsMultipleScenes": false,
                    "UISceneConfigurations": [
                        "UIWindowSceneSessionRoleApplication": [
                            [
                                "UISceneConfigurationName": "Default Configuration",
                                "UISceneDelegateClassName": "$(PRODUCT_MODULE_NAME).SceneDelegate"
                            ]
                        ]
                    ]
                ]
            ]),
            sources: ["Sources/**"],
            resources: ["Resources/**"],
            dependencies: [
                .project(target: "BookDetailFeature", path: "../Feature/BookDetail")
            ]
        )
    ]
)

위처럼 path를 넣어야하고 string이기 때문에 오류의 문제가 생길 수 있음

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions