Tags should not be prepended with 'v', fails SPM
terwanerik opened this issue · comments
Hi,
Xcode 11 finally has SPM support built-in, so adding SPM packages to iOS / macOS is now possible without much hassle.
The current Package.swift
works fine for this, there is only one issue, Xcode cannot find version 3.0.0
because it's tagged as v3.0.0
in the releases/tags.
The only way to add the framework now is by selecting the master branch, ideally not what you'd want.
Can version v3.0.0 be tagged again as 3.0.0
and further versions from here on out? So we can use the 'power' of semver.
Thanks!
Good catch, thanks! I'll remove the v
moving forward.
I've added a 3.0.0
tag, please let me know if you have any more problems.
It fails because there is no Package.swift manifest in the tagged version. If you download the tag as a zip file, you'll notice the Package.swift file is missing.
I went ahead and released 3.1.0, which I have verified is working in another project.