title: Extracting XIP file on linux ends with missing files
body: <p>I tried extract the Xcode XIP file download from <a href="https://developer.apple.com/download/all/?q=Xcode" rel="nofollow noreferrer">here</a>, following the instructions in this tutorial: <a href="https://gist.github.com/phracker/1944ce190e01963c550566b749bd2b54" rel="nofollow noreferrer">https://gist.github.com/phracker/1944ce190e01963c550566b749bd2b54</a></p>
  <pre><code>Unpacking XIP files on Linux:
  
      Install xar from https://mackyle.github.io/xar/
      Install pbzx from https://github.com/NiklasRosenstein/pbzx (use gcc -llzma -lxar -I /usr/local/include pbzx.c -o pbzx and copy the binary into your PATH)
      use xar -xf XIP_FILE -C /path/to/extract/to
      Change to the directory where you extracted the file.
      Use pbzx -n Content | cpio -i to extract the contents.
  </code></pre>
  <p>But the result seems to be missing some files. For example, when I go to:</p>
  <pre><code>Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/
  </code></pre>
  <p>every single on the folders here have only subfolders inside, with no file (I think should be some header files inside the <code>Header</code> subfolder, which is empty, and a <code>*.swiftmodule</code> file inside the subfolder <code>Modules</code>- ther eis only an empty folder with this name)</p>
  <p>What I am missing here? The instructions above are missing some step?</p>