I am very new to macOS, I just need a mac with Xcode to compile my app. However, with macOS Sierra, I have a problem with my USB that is not working anymore (i can\'t plug my ip
Update: 08 Oct, 2020: Easy way
Old Ans
Convert the xip to a dmg by opening a terminal to the folder where the xip is placed and run the following commands:
$ open Xcode_X_Y_Z.xip
$ mkdir Xcode-tmp
$ mv Xcode.app Xcode-tmp/Xcode.app
$ hdiutil create -volname "Xcode" \
-srcfolder Xcode-tmp \
-ov -format UDZO \
Xcode_X.Y.Z.dmg
$ rm -rf Xcode-tmp