bazel-ios / cocoapods-bazel

A Cocoapods plugin for automatically generating Bazel BUILD files
Apache License 2.0
110 stars 21 forks source link

data attribute doesn't include files in bundle #52

Closed hborawski closed 2 years ago

hborawski commented 2 years ago

if my spec contains something like:

app_spec.resources = "Resources/**/*.xcassets"

The generated BUILD has:

data = glob(["Resources/**/*.xcassets"])

however, those assets are not included in the bundle when building the app

If i switch the generated BUILD to use:

resources = glob(["Resources/**/*.xcassets"])

The asset catalogs are correctly included in the app

Why is data used and not resources?