Skip to content

Dependency to legacy target #286

Open
@abeintopalo

Description

@abeintopalo

Just playing around with dependencies and noticed when a target has a dependency to a legacy target then XcodeGen adds the legacy target into the Copy Bundle Resources build phase resulting in build error.

Consider the following snippet:

targets:
  MyTarget:
    dependencies:
      - target: Legacy
        embed: false
  Legacy:
    type: ""

without explicit embed: false as seen above Legacy target is added into the Copy Bundle Resources build phase of MyTarget

Maybe embed value as true as default for legacy dependencies would be a better option?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions