bazel-xcode / bazel-xcode/xchammer
Determine Swift version
Open
- Dominant language
- Swift
- Stars
- 314
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
XCHammer needs a value for `SWIFT_VERSION`. Currently it runs `xcrun swift package tools-version` (see #85) but this only works for projects that have a `Package.swift`.
https://github.com/pinterest/xchammer/blob/c96f82173572b73544df435e4b0015784e5aecdc/Sources/XCHammer/XcodeTarget.swift#L604
I'm not sure what the best way is to get a swift version. Maybe the output of `swift -version`, but that doesn't looks to be ad hoc text, and could potentially change format and break XCHammer.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.