[SPM] xcodes 1.5.0 cannot be resolved due to dependency on unstable package 'data'
🐛 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.