Skip to content

shouldn't Package.resolved be added to .gitignore? #11463

Answered by lmarceau
byaruhaf asked this question in Q&A
Discussion options

You must be logged in to vote

We keep it in version control since we want everyone to use the same set of dependencies. Package.resolved file records the result of dependency resolution whenever SwiftPM performs it. If the file is already present, SwiftPM will try to resolve to the same versions as recorded in the file.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lmarceau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants