rules_swift_package_manager icon indicating copy to clipboard operation
rules_swift_package_manager copied to clipboard

"dependency checking of directories is unsound" warning when building packages with xcassets

Open jpsim opened this issue 1 year ago • 2 comments

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

jpsim avatar Apr 11 '24 14:04 jpsim

I misunderstood. So, #1009 is a repro for this issue?

cgrindel avatar Apr 11 '24 15:04 cgrindel

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.

jpsim avatar Apr 11 '24 15:04 jpsim