Skip to content

Instantly share code, notes, and snippets.

@Luoyayu
Created December 12, 2019 18:48
Show Gist options
  • Save Luoyayu/3c5f099dd1a453f049fced1df7bc7964 to your computer and use it in GitHub Desktop.
Save Luoyayu/3c5f099dd1a453f049fced1df7bc7964 to your computer and use it in GitHub Desktop.
extract Xcode.xip to a customed volume
By default, when extracts the Xcode.zip,
macos will create tmp file in `/private/var/folders/v2/tbmrn60d2910x3w23ys5fgs00000gn/T/com.apple.AUHelperService`.
Sometimes, the /private has no ehough space to hold 19GB Xcode.app.
Thus we can create a soft link named `com.apple.AUHelperService` in the tmp dir.
Steps:
1. BACKUP `com.apple.AUHelperService` in `/private/var/folders/v2/tbmrn60d2910x3w23ys5fgs00000gn/T/` to `com.apple.AUHelperService_BACKUP`
2. mkdir named `com.apple.AUHelperService` wherever you have enough space,
3. ln -s /your/absolute/path/com.apple.AUHelperService /private/var/folders/v2/tbmrn60d2910x3w23ys5fgs00000gn/T
4. double click the Xcode.xip
@jyyan
Copy link

jyyan commented Sep 4, 2020

thx alot, you save my day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment