High Sierraアップグレード後、サイズの大きなファイルを開くと「検証中」という表示が出て長い間ファイルが開けない問題と対処法。

スポンサーリンク

 macOS 10.13 High Sierraアップグレード後、サイズの大きなファイルを開くと「検証中」という表示が出て長い間ファイルが開けない問題と対処法をいかにまとめています。詳細は以下から。

macOS 10.13 High Sierraのインストーラーアイコン。

 macOS 10.13 High Sierraアップグレード後、ダウンロードした動画ファイルを開くと以下の様に「hogehogeを検証中」という表示とプログレスバーが出て最大検証に数分かかるようになったため、調べてみたところ。

macOSのファイルを検証中

この問題はApple Support CommunitiesやReddit、動画プレイヤーのフォーラム、GitHubなどで報告されており、動画ファイル以外にもSMB上のファイルや圧縮ファイルを解凍を行う際にも同じ症状が発生し、ファイルサイズにもよりますが最大1時間弱の時間が検証にかかるようです。

対処法

 サポートフォーラムなどによると、この問題はmacOS/OS Xのファイルに付属する拡張属性(以下、EA : Extended Attributes)に原因があるようで、EAを削除すれば検証なしに開けるため、

xattr -d com.apple.quarantine

It’s a bug in Quicktime. On every opening it adds the xattr (extended attribute) com.apple.quarantine on every file opening. I hope Apple will fix this on a next update soon. The only workaround I know is to remove that xattr on every file (on network delete all ._* files where the xattr are saved on Samba shares) and try not to open the video file with Quicktime and use an alternative.

Skip “Verifying [file name]” in High Sierra? – Apple Support Communities

EAを編集できるコマンド”xattr(eXtended ATTRibutes)”を利用して、以下の様に対象のファイルからEAを削除すれば検証されなくなるので、この問題に遭われている方は試してみて下さい。

  • ファイル”hogehoge”のEAを削除。
  • xattr -d com.apple.quarantine [hogehoge]
  • カレントディレクトリにある”mkv”ファイルからEAを削除。
  • find . -iname '*.mkv' -print0 | xargs -0 xattr -d com.apple.quarantine
:)