rules_swift_package_manager icon indicating copy to clipboard operation
rules_swift_package_manager copied to clipboard

fix: precompiled resource bundle warnings

Open sebastianv1 opened this issue 6 months ago • 8 comments

For SPM modules that use precompiled resource bundles (i.e .bundle files), Bazel throws the warning

WARNING: input 'Sources/Down/Resources/DownView (macOS).bundle' is a directory; dependency checking of directories is unsound

Instead of just referencing the .bundle path directly we should wrap it in a apple_bundle_import for the prebuilt bundle and then add it into the resources attr.

sebastianv1 avatar Apr 10 '25 14:04 sebastianv1