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-argument-parser version issue. #161

Closed
tarunon opened this issue Sep 23, 2021 · 0 comments · Fixed by #162
Closed

swift-argument-parser version issue. #161

tarunon opened this issue Sep 23, 2021 · 0 comments · Fixed by #162

Comments

@tarunon
Copy link
Contributor

tarunon commented Sep 23, 2021

In the last two weeks, there has been a major update to swift-argument-parser, and several apple tools (e.g. swift-format) take the version.
Therefore, if we try to use the same Package.swift for license-plist and apple tools, an error will occur.

error: Dependencies could not be resolved because root depends on 'swift-format' 0.50500.0..<1.0.0 and root depends on 'LicensePlist' 3.14.2..<4.0.0.
'LicensePlist' is incompatible with 'swift-format' because no versions of 'swift-format' match the requirement 0.50500.1..<1.0.0.
'LicensePlist' is incompatible with 'swift-format' because 'LicensePlist' >= 3.12.0 depends on 'swift-argument-parser' 0.3.2..<1.0.0 and 'swift-format' 0.50500.0 depends on 'swift-argument-parser' 1.0.1..<1.1.0.
make: *** [init] Error 1
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 a pull request may close this issue.

1 participant