Skip to content

data attributes are not propagated from objc_library to cc_library or cc_binary #16270

@senchangniantic

Description

@senchangniantic

Description of the bug:

When building a cc_binary with objc_library as dependency , the data in objc_library is not copied as runfile for the cc_binary.

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Archive.zip

Which operating system are you running Bazel on?

macOS 12.2.1 on m1

What is the output of bazel info release?

release 5.2.0

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

#11425 is possibly related

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)team-Rules-ObjCIssues for Objective-C maintainerstype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions