From 937384ca42de1f2807a7b0df522337b992faed9f Mon Sep 17 00:00:00 2001 From: _Qubarf Date: Sat, 17 Sep 2022 11:27:09 +0800 Subject: [PATCH] Updated Downloading and installing xcode headless scriptless (markdown) --- ...-and-installing-xcode-headless---scriptless.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Downloading-and-installing-xcode-headless---scriptless.md b/Downloading-and-installing-xcode-headless---scriptless.md index e9d6416..a298375 100644 --- a/Downloading-and-installing-xcode-headless---scriptless.md +++ b/Downloading-and-installing-xcode-headless---scriptless.md @@ -15,14 +15,17 @@ I was using the pre-setup Catalina docker, so I chose [this version](https://dev 4. Then simply a matter of configuration: -`xip --expand [xcode.xip]` + `xip --expand [xcode.xip]` -`sudo cp Xcode.app /Applications` + `sudo cp Xcode.app /Applications` -`sudo rm /Library/DeveloperCommandLineTools && xcode-select -r` + `sudo rm /Library/DeveloperCommandLineTools && xcode-select -r` -`sudo xcodebuild -license accept` + `sudo xcodebuild -license accept` -`sudo xcodebuild -runFirstLaunch` (took ~10 minutes for me) + `sudo xcodebuild -runFirstLaunch` (took ~10 minutes for me) -`DevToolsSecurity -enable` \ No newline at end of file + `DevToolsSecurity -enable` + +5. Remote development can be achieved through VSCode through ssh + 1. E.g., for swift make sure to change the sourcekit-lsp path to be the output of `xcrun --find sourcekit-lsp` \ No newline at end of file