mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-22 14:01:33 -06:00
Updated Downloading and installing xcode headless scriptless (markdown)
parent
51b127c6e6
commit
937384ca42
@ -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:
|
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`
|
`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`
|
Loading…
Reference in New Issue
Block a user