rules_swift_package_manager icon indicating copy to clipboard operation
rules_swift_package_manager copied to clipboard

Collection of utilities and Bazel rules to aid in the development and maintenance of Swift repositories using Bazel.

Results 148 rules_swift_package_manager issues
Sort by recently updated
recently updated
newest added

Apparently, for target `AppMetricaCrashes` of AppMetrica rspm generates invalid names for rules: ``` ERROR: /private/var/tmp/_bazel_krypt/de9844abaa047ea4e0868fa95089f211/external/rules_swift_package_manager~0.29.2~swift_deps~swiftpkg_kscrash/BUILD.bazel:238:13: in objc_library rule @rules_swift_package_manager~0.29.2~swift_deps~swiftpkg_kscrash//:KSCrash/Installations.rspm: Traceback (most recent call last): File "/virtual_builtins_bzl/common/objc/objc_library.bzl", line 39, column 25,...

Can't compile target `AppMetricaCore` of AppMetrica. The full error: ``` ERROR: /private/var/tmp/_bazel_krypt/de9844abaa047ea4e0868fa95089f211/external/rules_swift_package_manager~0.29.2~swift_deps~swiftpkg_appmetrica_sdk_ios/BUILD.bazel:2511:13: Compiling AppMetricaNetwork/Sources/AMANetworkingUtilities.m failed: (Exit 1): sandbox-exec failed: error executing command (cd /private/var/tmp/_bazel_krypt/de9844abaa047ea4e0868fa95089f211/sandbox/darwin-sandbox/13/execroot/_main && \ exec env - \...

NOTE: Due to a bug in rules_swift_package_manager, the GRPC dependencies generated by this repository from the Package.swift are failing to compile on Ubuntu 22.04 in CI. https://github.com/cgrindel/rules_swift_package_manager/issues/1012 Until this issue...

Hi! As far as I understand, resource bundles are generated with the name `TARGET_NAME_TARGET_NAME`. Perhaps it would be more correct to generate the bundle name in the format `PACKAGE_NAME_TARGET_NAME`? For...

chore

Just ran into this very particular case, where running `bazel run //:update_build_files` results in some warnings: ``` gazelle: Unable to find dependency labels for s, sCount, sFormat, sOffset, s_count, s_format,...

bug

I'm not sure whether it's a `rules_swift_package_manager` issue or `rules_swift` issue. [`swift-composable-architecture`](https://github.com/pointfreeco/swift-composable-architecture) has a dependency [`swift-perception`](https://github.com/pointfreeco/swift-perception). [`swift-perception`](https://github.com/pointfreeco/swift-perception) is a backport library for [`Observation`](https://developer.apple.com/documentation/observation). Since `Observation` requires iOS 17+, some API...

enhancement

This issue is causing CI to fail on my PR to add support for the new swift proto library rules: https://github.com/cgrindel/rules_swift_package_manager/pull/834 Previously, the GRPC example in the repository used the...

To reproduce, check out the branch from https://github.com/cgrindel/rules_swift_package_manager/pull/1009 and run the following: ```console $ 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;...

bug

Exclude paths should be relative to the target paths. https://developer.apple.com/documentation/packagedescription/target/exclude I'm not sure if it's better to compose the paths together here, or further upstream somewhere

Currently, just treating it as a library.

enhancement