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

SPM: Couldn’t check out revision "fd172fe3cc07572e546942cb175b16e549fc3e1a" #8

Closed
gongzhang opened this issue Jun 1, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@gongzhang
Copy link
Contributor

Details

  • Xcode 13.4
  • Framework Version 1.4
  • Installed via SPM

Describe the Bug

Hi Ivan,

I have encountered a strange problem. When I add Package Dependencies in Xcode's Project Setting, the SPM seems to resolve the latest SPConfetti to an incorrect revision. I use the Xcode default settings when adding dependency.

image

However, the revision in the Package.resolved file points to fd172fe3cc07572e546942cb175b16e549fc3e1a, but this commit seems to be incorrect. There is also a warning on GitHub page for this revision: fd172fe3cc07572e546942cb175b16e549fc3e1a.

// Package.resolved
      {
        "package": "SPConfetti",
        "repositoryURL": "https://github.com/ivanvorobei/SPConfetti.git",
        "state": {
          "branch": null,
          "revision": "fd172fe3cc07572e546942cb175b16e549fc3e1a", // <=== 🤔
          "version": "1.4.0"
        }
      },

This issue can cause SPM to fail to checkout dependencies when building with CI. I can mannually edit Package.resolve to workaround the issue. But it will be great to fix it from the repo.

@gongzhang gongzhang added the bug Something isn't working label Jun 1, 2022
@ivanvorobei
Copy link
Owner

Problem is still with you?

@gongzhang
Copy link
Contributor Author

@ivanvorobei I believe there is no more problem in 1.4.1. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants