You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I assume this is done to avoid having a partial Xcode installation on the destination folder, which sounds reasonable to me. ↩
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?
Activity
MattKiazyk commentedon Jan 13, 2022
@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
Moved XIP expansion to a temporal directory
Moved XIP expansion to a temporal directory
juanjonol commentedon Sep 21, 2022
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?
Moved XIP expansion to a temporal directory
Moved XIP expansion to a temporal directory
Frizlab commentedon Sep 28, 2026
Oh this is ~4yo. I’m bumping, in the hope that it’ll be caught as I have the same issue.