HenryRootTwo
HenryRootTwo

Reputation: 2612

Xcode not updating Package to latest version, despite correct pushes and tags

I have a Swift package in our Github repo, which has been updated, newly tagged, and pushed. In Github everything shows to be in the correct state (i.e. the updated code is correct). However, I cannot get Xcode to pull that version. The entry under Package Dependencies shows the correct tag, but the code in the file is an older version. (For what it's worth, it's an import statement that was removed, but is still showing up in Xcode.)

Steps taken:

Any insights appreciated.

Upvotes: 0

Views: 438

Answers (1)

Simon McNeil
Simon McNeil

Reputation: 463

Check your gitignore. I had /Package in my git ignore and that was the issue.

Upvotes: 0

Related Questions