[SPM] xcodes 1.5.0 cannot be resolved due to dependency on unstable package 'data'
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
🐛 Describe the bug
When using Swift Package Manager to integrate xcodes version 1.5.0, resolution fails due to a dependency on an unstable package, data.
SwiftPM does not allow stable versions to depend on packages without stable versions, resulting in the following error:
error: Dependencies could not be resolved because package 'xcodes' is required using a stable-version but 'xcodes' depends on an unstable-version package 'data' and root depends on 'xcodes' 1.5.0.
💡 Suggested fix
To make the stable release of xcodes usable via SwiftPM, please ensure that all dependencies—especially data—point to a tagged (semver-compliant) release version.
🔁 Workaround
As a temporary workaround, I can depend on xcodes using a branch or revision reference, but this prevents me from locking to a stable release version, which is important for reproducible builds.
✅ Steps to Reproduce
- Add this line to
Package.swift:.package(url: "https://github.com/XcodesOrg/xcodes", from: "1.5.0") - Try resolving dependencies
- Observe the resolution failure
🙏 Thanks
Thank you for maintaining this project! A fix would really help make xcodes easier to adopt in SwiftPM-based workflows.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the resolution failure with the Package.swift dependency on xcodes 1.5.0, then inspect the package dependency on data and its available tags. The work is done when the stable xcodes release resolves through Swift Package Manager using semver-compatible dependency versions, without requiring a branch or revision reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100