Skip to content

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.

2 participants