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 170 rules_swift_package_manager issues
Sort by recently updated
recently updated
newest added

BCR presubmit fails if the values do not match. Related to #977.

chore

In the latest release - 0.28.0 - the underlying targets declared by the packages were hidden. As I understand the change was introduced in https://github.com/cgrindel/rules_swift_package_manager/pull/883. I generally agree with the...

[Availability for OSS projects](https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/)

chore

# Use case ## External repository I have an external repository: `External` which is built using SPM. To support Bazel as well, the repository uses `rules_swift_package_manager` to generate BUILD files...

enhancement

When using package https://github.com/rudderlabs/rudder-sdk-ios.git version 2.4.2, I was getting this error: `rules_swift_package_manager~0.25.0~swift_deps~swiftpkg_rudder_sdk_ios/BUILD.bazel:19:14: in srcs attribute of swift_library rule @rules_swift_package_manager~0.25.0~swift_deps~swiftpkg_rudder_sdk_ios//:Sources_Rudder: source file '@rules_swift_package_manager~0.25.0~swift_deps~swiftpkg_rudder_sdk_ios//:Sources/Classes/Networking/APIClient/SampleBatchPayload.json' is misplaced here (expected swift)` The package itself...

bug

Hi I use rules_swift_package_manager to include Firebase in my bazel project. After updating to Xcode 15, I have got a strange error about swift compiler version. Failed to build module...

``` # Don’t want to push a rules author to update their deps if not needed. # https://bazel.build/reference/command-line-reference#flag--check_direct_dependencies # https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0 common --check_direct_dependencies=off ``` [Related Slack thread](https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0)

chore

After adding this to Package.swift ``` .package(url: "https://github.com/realm/realm-swift.git", from: "10.17.0"), ``` We see the following error ``` INFO: Repository rules_swift_package_manager~0.14.0~swift_deps~swiftpkg_realm_core instantiated at: callstack not available Repository rule swift_package defined at:...

bug