-
Notifications
You must be signed in to change notification settings - Fork 203
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
Unable to add Package dependencies of Xcode(IOS) #3907
Comments
Hi @Wilsonagene. It's not possible to see the full error in the screenshots you provided, but it seems the issue happens when attempting to load the |
I see, I guess the options are greyed out because you don't have any package in that specific project. This seems to be a network issue when Xcode tried to fetch the package, but not something caused by the package itself. If that's not the case, you could try removing the affected packages from the list of "Recently Used" in Xcode by right-clicking and choosing "Remove Package", or just try wiping the whole SPM caches directory altogether: rm -rf ~/Library/Caches/org.swift.swiftpm/ In any case, this issue is not something we have control of. |
Might be related to this if you use SourceTree. |
no it's not sourceTree I have checked |
okay thanks I will also try this. |
I can't reproduce this issue in either Xcode 15.4 nor Xcode 16, so I don't think it's related to that. |
But I try other packages and it worked |
This issue is now closed. Comments on closed issues are hard for our team to see. |
I my Derived Data folder and I was able to add the package to my project |
Describe the bug
I am unable to add the Package dependencies for IOS Xcode
Errors are in the image below:
Steps To Reproduce
Expected behavior
After clicking on Add package the package should be added to your Xcode project
Amplify Framework Version
4.43.0
Amplify Categories
Analytics, API, Auth, DataStore, Geo, Predictions, Storage
Dependency manager
Swift PM
Swift version
5.0
CLI version
12.1.1
Xcode version
15.4
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
17.5
Device
iPhone 15
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: