From 2e3bcd66d4ee7f218a5cd85a36a6037f0050a5e7 Mon Sep 17 00:00:00 2001 From: Fan-Wu Geoffrey Yang Date: Tue, 29 Sep 2026 16:15:25 +1300 Subject: [PATCH] Update Tools/Xcode --- Tools%2FXcode.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/Tools%2FXcode.md b/Tools%2FXcode.md index 5d08b7b..901670f 100644 --- a/Tools%2FXcode.md +++ b/Tools%2FXcode.md @@ -1 +1,32 @@ -Welcome to the Wiki. \ No newline at end of file +Xcode Info + +--- + +### Use System git instead of Xcode git + +
+Explanation +Xcode comes bundled with it's own version of git. In most cases this seems to work fine. + +In some scenarios I've found that Xcode is unable to bypass an authenticated proxy to fetch swift packages through ssh. In this case I run the following command to use my system git which will then also use my system in build ssh keys that I have registered against the ssh-agent. +
+ +``` +sudo defaults write com.apple.dt.Xcode IDEPackageSupportUseBuiltinSCM YES +``` + +--- + +### Swift Package Manager - Cannot fetch as username does not match last + +This happens as there is a conflict between your last fetch of the package and new ones org id + +ie org-{some_number}}@github.com:auth0/JWTDecode.swift.git + +This needs to be changed to + +[git@github.com:auth0/JWTDecode.swift.git + +### Swift Package cannot fetch + +https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent \ No newline at end of file