Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift Package Manager version format #175

Closed
miguelangel-dev opened this issue Aug 17, 2019 · 2 comments
Closed

Swift Package Manager version format #175

miguelangel-dev opened this issue Aug 17, 2019 · 2 comments

Comments

@miguelangel-dev
Copy link
Contributor

miguelangel-dev commented Aug 17, 2019

Description

Swift Package Manager is not working using the current tag format VERSION.MINOR

Apple recommend use version formatting VERSION.MINOR.PATCH as we can read in swift.org

The source URL is a URL accessible to the current user that resolves to a Git repository. The version requirements, which follow Semantic Versioning (SemVer) conventions, are used to determine which Git tag to check out and use to build the dependency

What did you do?

swift package resolve - using a Package.swift file with the next dependency

.package(url: "https://github.com/Juanpe/SkeletonView.git", from: "1.7")

is not resolving the SkeletonView dependency because tag format is not correct.

How to resolve problems about SPM?

Just change current versioning to VERSION.MINOR.PATCH

ex. following the current version

.package(url: "https://github.com/Juanpe/SkeletonView.git", from: "1.7.0")
@Juanpe
Copy link
Owner

Juanpe commented Aug 18, 2019

Hi @miguelangel-dev! Thanks for the comment! Would you like contribute to the project? 😬

@Juanpe
Copy link
Owner

Juanpe commented Aug 21, 2019

Solved! README file has been updated specifying full version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants