rules_swift_package_manager
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.
This is still very much a WIP. Related to #924.
## Goals 1. Remove need for Swift index JSON file. 2. Move Gazelle plugin to its own repository. 3. Create release 1.0.0. ## Tasks - [x] Process SPM `Package.swift` and...
Fixes #897.
When using a Swift package that contains multiple experimental features (i.e. https://github.com/sersoft-gmbh/swift-smtp ), the error that is returned shows treats one of the features as an input file. This is...
A new `Package.resolved` format was seemingly released in xcode 15.3. The format seems to be the same for the purposes of the pins in my repo, which are all remote....
[SE-0386](https://github.com/apple/swift-evolution/blob/main/proposals/0386-package-access-modifier.md) introduced the `package` access level. Packages using this require a `-package-name` argument to the compiler, which `rules_swift` rules [support via a `package_name` argument](https://github.com/bazelbuild/rules_swift/blob/master/doc/rules.md). SE-0386 says this about the package...
It looks like there's currently no support for package dependencies resolved from a [package registry](https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistry/PackageRegistryUsage.md). That is, packages defined with the `id` syntax: ```swift dependencies: [ .package(id: "mona.LinkedList", .upToNextMajor(from: "1.0.0")),...
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [datatheorem/TrustKit](https://togithub.com/datatheorem/TrustKit) | patch | `from: "3.0.3"` -> `from: "3.0.4"` | --- ### Release Notes datatheorem/TrustKit...
How to include `.stencil` and `.png` resources in bundle? Target resources are defined as `resources: [.process("Resources")]`, and when building with SPM natively, all files are copied to bundle. I could...
When I try to add dependency on https://github.com/adjust/ios_sdk I get this build failure. ``` /private/var/tmp/_bazel_johnflanagan/b8bc7972ecfebadd8d249c6ec0018f24/execroot/_main/external/rules_swift_package_manager~0.29.1~swift_deps~swiftpkg_ios_sdk/AdjustSdkStatic/module.modulemap:1:18: error: redefinition of module 'AdjustSdk' framework module AdjustSdk { ^ /private/var/tmp/_bazel_johnflanagan/b8bc7972ecfebadd8d249c6ec0018f24/execroot/_main/external/rules_swift_package_manager~0.29.1~swift_deps~swiftpkg_ios_sdk/ModuleMap/module.modulemap:1:18: note: previously defined here...