Skip to content

Expand .xip on the destination volume #178

Open

Description

@juanjonol

After PR #126, xcode install supports a custom path for Xcode's installation, but this path isn't directly used for the .xip expansion, using instead the same directory where it’s downloaded (~/Library/Application Support/com.robotsandpencils.xcodes/)1. If this custom installation path is to a different volume than the .xip, this means that:

  • Xcode.app must be first expanded and then moved to another volume, a relatively slow operation given its massive size.
  • This installation requires double the free space than on a same-volume installation, because Xcode is first copied to the destination volume and only when it has finished it’s deleted from the original volume.

So I think it makes sense to expand the .xip directly on the final volume where Xcode will be installed (probably on the /.TemporaryItems folder).

Would you accept a pull request for this? Thank you!

Footnotes

  1. I assume this is done to avoid having a partial Xcode installation on the destination folder, which sounds reasonable to me. ↩

Activity

  1. MattKiazyk commented on Jan 13, 2022

    @MattKiazyk
    Contributor

    @juanjonol absolutely accept a PR for this.

    Did something similar with Xcode.app - if you could follow the similar pattern that would be 💯

    https://github.com/RobotsAndPencils/XcodesApp/pull/155/files

  2. added a commit that references this issue on Jan 23, 2022
    276531b
  3. added a commit that references this issue on Feb 6, 2022
    239898f
  4. juanjonol commented on Sep 21, 2022

    @juanjonol
    ContributorAuthor

    Sorry to bother you @MattKiazyk, but the PR #179 that closes this has been ready for months. It says that some changes are required, but I made those changes a long time ago. Maybe you've missed this PR because it still says that there're changes requested?

  5. added 2 commits that reference this issue on Jun 12, 2026
    5bb2637
    361a4b4
  6. Frizlab commented on Sep 28, 2026

    @Frizlab

    Oh this is ~4yo. I’m bumping, in the hope that it’ll be caught as I have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions