Skip to content

Instantly share code, notes, and snippets.

@JScott
Created September 16, 2016 16:41
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JScott/5be1c2770f2134b22a67d417fd91c895 to your computer and use it in GitHub Desktop.
Save JScott/5be1c2770f2134b22a67d417fd91c895 to your computer and use it in GitHub Desktop.
For unarchiving Apple's bad decisions
-- http://stackoverflow.com/questions/37812664/end-of-central-directory-signature-not-found-when-installing-xcode-8-beta-xip/37857162#37857162
on run argv
tell application "Archive Utility" to open POSIX path of (item 1 of argv)
repeat
delay 5
if application "Archive Utility" is not running then exit repeat
end repeat
end run
@tugloo1
Copy link

tugloo1 commented Nov 8, 2016

Thanks. This script helped us a lot.

@microscotch
Copy link

open -FWga "Archive Utility" --args ./Xcode.xip is more efficient

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