I searched around how to extract XIP archive using command line with no luck so I am leaving my own solution, as a bash function, here.
bash
I found my inspirati
On macOS Mojave (not sure about other OS versions), navigate to the directory into which you’d like to expand the contents, then run xip --expand /path/to/xip.xip. For instance:
xip --expand /path/to/xip.xip
iMac:Applications jeff$ xip --expand /Users/jeff/Downloads/Xcode_11_Beta.xip