Skip to content

Moved XIP expansion to a temporal directory#3

Open
juanjonol wants to merge 1 commit into
XcodesOrg:mainfrom
juanjonol:xip-multivolume-expasion
Open

Moved XIP expansion to a temporal directory#3
juanjonol wants to merge 1 commit into
XcodesOrg:mainfrom
juanjonol:xip-multivolume-expasion

Conversation

@juanjonol

Copy link
Copy Markdown

Changes required for XcodesOrg/xcodes#179 with xcodes v2.0.1.

Instead of expanding XIPs on its current directory, a temporal directory is used. The main advantage of this approach is that, because the temporal directory is created on the same volume where Xcode will be installed, the installation is vastly improved if the XIP is on a different volume.

- https://nshipster.com/temporary-files/
- The implementation of the `temporalDirectory` function and variable are based on the similar `trashItem`, but without the `@discardableResult` annotation (I cannot think of any case where this URL could to be ignored).

This, with PR XcodesOrg/xcodes#179, closes XcodesOrg/xcodes#178.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant