I\'m using the Mac OS to install the XCode10.1.
I have 18.43GB free disk space in the mac,
but when I click the install button on the Xcode from the app store,<
this command works perfectly, it removed AFPS snapshots
tmutil thinlocalsnapshots / 21474836480 4
Got the reference from this forum
https://forums.developer.apple.com/thread/110533