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

Use correct swift package manager version #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

f-meloni
Copy link
Member

@f-meloni f-meloni commented Jul 4, 2021

I've separated the logic to find the folder (which seems to be always at lib/swift/pm/4_2/), and the version used to compile the Package.swift which depends on the version specified on the swift-tools-version.

Copy link
Member Author

@f-meloni f-meloni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was working before only because of

let latestVersion = versions.sorted().last!

Because this is the content of the pm folder

Schermata 2021-07-04 alle 18 58 08

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

Successfully merging this pull request may close these issues.

1 participant