You could generate an Xcode project and then add it as a subproject (you'll need to add some extra flags because of the clibc target) but if you only need Version
, I am not so sure if that way is better. We do plan to move the infrastructure related code into a separate repository.
Please note that this is not official Apple API and we will add/remove things depending on the needs of the build system projects.
Thats due to a technical issue that no one gotten around to solve yet. I would recommend using Utility/Version.swift
and not PackageDescription/Version.swift
.
We do plan to propose an index in the future!