While trying to install android-platform-tools
using homebrew
on OS X 10.11.6, I encountered the following error (complete paste below):
$ brew cask install android-platform-tools
==> Satisfying dependencies
==> Downloading https://dl.google.com/android/repository/platform-tools_r28.0.1-
######################################################################## 100.0% /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/utils/quarantine.swift:29:30: error: 'quarantinePropertiesKey' is only available on OS X 10.10 or newer
forKey: URLResourceKey.quarantinePropertiesKey
^ /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/utils/quarantine.swift:29:30: note: add 'if #available' version check
forKey: URLResourceKey.quarantinePropertiesKey
^ Error: Failed to quarantine /Users/User/Library/Caches/Homebrew/downloads/e3de3bef9f7f114325f5d2be854f297cc85e6e17a490c9f267b1c838ee225340--platform-tools_r28.0.1-darwin.zip. Here's the reason: /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/utils/quarantine.swift:29:30: error: 'quarantinePropertiesKey' is only available on OS X 10.10 or newer
forKey: URLResourceKey.quarantinePropertiesKey
^ /usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/utils/quarantine.swift:29:30: note: add 'if #available' version check
forKey: URLResourceKey.quarantinePropertiesKey
^
This doesn't make sense to me, since this system is running OS X 10.11.x.
Do I need to completely uninstall and reinstall homebrew? I'd rather not, if possible, since I have a few things installed via homebrew currently.
I did run brew update
immediately before this, so homebrew should be up to date.