Swift Packages Don't Resolve In Xcode #75
-
What Stanford Spezi module is your challenge related to?Spezi DescriptionXcode is failing to download any dependencies or fails to download a subset of dependencies with the error message Caution The repository could not be found. Make sure a valid repository exists at the specified location and try again. ReproductionTry to clone a repo that uses SPM packages & try to resolve the dependencies or update the dependencies. Expected behaviorXcode should properly update or resolve all dependencies. Additional contextNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To resolve this, open your terminal and executer the following command to force Xcode to use the built in git tool instead of any git version installed on your machine: $ defaults write com.apple.dt.Xcode IDEPackageSupportUseBuiltinSCM YES Restart Xcode after executing the command. All packages should resolve without any problems. |
Beta Was this translation helpful? Give feedback.
To resolve this, open your terminal and executer the following command to force Xcode to use the built in git tool instead of any git version installed on your machine:
Restart Xcode after executing the command. All packages should resolve without any problems.