rules_swift_package_manager
rules_swift_package_manager copied to clipboard
"dependency checking of directories is unsound" warning when building packages with xcassets
To reproduce, check out the branch from https://github.com/cgrindel/rules_swift_package_manager/pull/1009 and run the following:
$ cd examples/stripe_example
$ bazel build //... --action_env=BAZEL_FORCE_REBUILD="$(date)"
WARNING: PaymentSheetExample/BUILD.bazel:36:16: input 'Stripe3DS2/Stripe3DS2/Resources/Stripe3DS2.xcassets' to //PaymentSheet/PaymentSheetExample:iosapp is a directory; dependency checking of directories is unsound
WARNING: PaymentSheetExample/BUILD.bazel:36:16: input 'StripeUICore/StripeUICore/Resources/StripeUICore.xcassets' to //PaymentSheet/PaymentSheetExample:iosapp is a directory; dependency checking of directories is unsound
WARNING: PaymentSheetExample/BUILD.bazel:36:16: input 'StripePaymentsUI/StripePaymentsUI/Resources/StripePaymentsUI.xcassets' to //PaymentSheet/PaymentSheetExample:iosapp is a directory; dependency checking of directories is unsound
WARNING: PaymentSheetExample/BUILD.bazel:36:16: input 'StripePaymentSheet/StripePaymentSheet/Resources/StripePaymentSheet.xcassets' to //PaymentSheet/PaymentSheetExample:iosapp is a directory; dependency checking of directories is unsound
I misunderstood. So, #1009 is a repro for this issue?
Sorry I could have made that clear, yes #1009 is a repro for this issue, but also can be merged as an update to the Stripe dependency. It's both.