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,<
What you can also do is manually download Xcode and install it. (Without using the app store update) Therefor do the following steps:
See also this post here: https://discussions.apple.com/thread/8622103?answerId=250008933022#250008933022