Comments (5)
This is probably related to the fact that spm_parser
uses 1.2.0
version of swift-argument-parser
(here) and the parser gets run via swift run
which fetches and rebuilds as needed.
However, its confusing that these versions would collide since they should be in separate packages?
from rules_spm.
Looking at it a bit more, it seems like maybe caused by this change in Package.swift of swift-argument-parser: https://github.com/apple/swift-argument-parser/blob/main/Package%40swift-5.6.swift#L94-L108
from rules_spm.
@luispadron I just reverted the incompatible version upgrade in #193. I will push a release in a few minutes.
from rules_spm.
Thanks! Wonder though what a solution here is that doesn't care about what version the internal tool is on?
from rules_spm.
Release: v0.11.2
It stems from the fact that swift-package-manager
is pinned to 1.0.x releases for swift-argument-parser
. I updated the spm_parser
package to have the same dependency definition. Right now, I don't have a better solution.
from rules_spm.
Related Issues (20)
- Depend on package but not its dependencies HOT 3
- Update `rules_spm` to build fetched dependencies using Bazel instead of Swift Package Manager HOT 4
- Ask the community how they would like to move forward with `rules_spm` design/behavior HOT 1
- Write design doc describing path forward
- Unable to add dependency on `Stripe` HOT 7
- SPM packages that include the DocC output in repo fail to build HOT 1
- Update `spm_xcode_toolchain.bzl` to use `DefaultInfo.files_to_run`.
- spm_repositories - doesn't seem to work HOT 5
- spm_swift_binary - use local binary / or how to use local spm files HOT 1
- Undefined symbols for architecture x86_64 when using ios_unit_test HOT 2
- tools/spm_parser fails building with swiftc 5.7 HOT 4
- Error in fail: A clang target must have at least one public header. target: GoogleSignIn HOT 1
- Cannot include package with binary (not executable) library target HOT 1
- Dependency Dashboard
- Error building package in both modes
- Enable `incompatible_xcode_` integration tests to run on `macos-12` CI
- Not all outputs were created or valid when building for IOS device HOT 7
- attribute 'srcs' in 'filegroup' rule: invalid target name '_:).json': HOT 2
- Deprecate `rules_spm`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_spm.