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 - Getting error when trying to "Update To Latest Package Versions" #1902

Open
haarj opened this issue Mar 8, 2025 · 4 comments
Open
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@haarj
Copy link

haarj commented Mar 8, 2025

Describe the bug

Often times when I click on "Update To Latest Package Versions", the packages can't update because it fails on update the aws-sdk-swift package with error:

"Showing Recent Messages
github.com: https://github.com/awslabs/aws-sdk-swift: The repository could not be found. Make sure a valid repository exists at the specified location and try again."

The aws-sdk-swift package I am using is a dependency of "https://github.com/aws-amplify/amplify-ui-swift-liveness"

I keep having to remove the package, update all my packages, and then add back the aws-sdk-swift package.

Expected Behavior

No error should occur when updated all SPM packages.

Current Behavior

Update error occurs. See description.

Reproduction Steps

Click on "Update to Latest Package Versions" in Xcode by right-clicking on "Package Dependencies" in the Project Navigator.

Possible Solution

No response

Additional Information/Context

No response

AWS SWIFT SDK version used

1.0.47

Compiler and Version used

Xcode 16.2, Swift 5

Operating System and version

MacOS Sequoia 15.3.1

@haarj haarj added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Mar 8, 2025
@jbelkins
Copy link
Contributor

jbelkins commented Mar 8, 2025

We suspect this may be a systems status issue at Github. https://www.githubstatus.com/incidents/m7vl0x8k3j9c

Github says their issues are resolved; please try again & let us know if you still have the same issue.

@haarj
Copy link
Author

haarj commented Mar 8, 2025 via email

@dayaffe
Copy link
Contributor

dayaffe commented Mar 10, 2025

Hi @haarj, this might be an issue with the package.resolved file in amplify-ui-swift-liveness. I took a peek in there and noticed the URL is set to https://github.com/awslabs/aws-sdk-swift which can sometimes cause issues. Try manually updating that to https://github.com/awslabs/aws-sdk-swift.git or if that doesn't work can try https://www.github.com/awslabs/aws-sdk-swift and https://www.github.com/awslabs/aws-sdk-swift.git. Let me know if that solves the issue!

@haarj
Copy link
Author

haarj commented Mar 10, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants