Update Tools/Xcode
+32
-1
@@ -1 +1,32 @@
|
||||
Welcome to the Wiki.
|
||||
Xcode Info
|
||||
|
||||
---
|
||||
|
||||
### Use System git instead of Xcode git
|
||||
|
||||
<details>
|
||||
<summary>Explanation</summary>
|
||||
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.
|
||||
</details>
|
||||
|
||||
```
|
||||
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
|
||||
Reference in New Issue
Block a user