Verifying dialog box on macOS High Sierra 10.13

If you upgraded to macOS High Sierra 10.13, you might have noticed a new annoying dialog that'll pop up before you can open certain files. It looks a little something like this:

At first, I thought the update had automatically enabled FileVault 2 on my SSD (since the icon and "verifying" text looks similar). But as it turns out in my case at least, if I open any video files in Quicktime, it'll add the "" extended attribute to the file. It looks like this is a bug and hopefully Apple will fix it soon since it makes opening large files on slower devices take minutes to verify with no skip button like you have for .dmg files.

In the meantime, you can remove the quarantine attribute from your file using the xattr command in terminal.

Also, I'll just leave this here if you understand the risks. If you want to disable quarantine system-wide so that you don't have to do the following steps on a per-file basis, type this command into terminal and restart your computer. Keep in mind though that this is disabling a protection feature of macOS and isn't recommended, although it should fix your problem permanently and system-wide.

defaults write LSQuarantine -bool NO

  1. Open Terminal by typing terminal into spotlight search.
  2. Type xattr and then drag the file (or type the path) in question into terminal like so:
  3. Hit enter and you'll see the current attributes on said file.
  4. If you see, you can remove it by adding -d between the command and file name like this:
  5. Now when you rerun xattr to see the current attributes on the file, shouldn't be there anymore and you should be able to open your files without the long verifying times.