rules_swift_package_manager
rules_swift_package_manager copied to clipboard
fix: precompiled resource bundle warnings
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.