--force.brew update-reset && brew update and retried my command.brew doctor, fixed as many issues as possible and retried my command.The command brew cask zap failed and the output is weird.
I have installed CommandLineTools on this machine (macOS Catalina v10.15.4)
brew cask zap fork
--force --verbose --debugā brew cask zap fork --force --verbose --debug
==> Zapping Cask fork
==> Implied "brew cask uninstall fork"
==> Uninstalling artifacts
==> 3 artifact/s defined
#<SortedSet: {#<Cask::Artifact::App:0x00007f971ebe0b60 @cask=#<Cask::Cask:0x00007f971f1b8768 @token="fork", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/fork.rb>, @tap=#<Tap:0x00007f971f189cb0 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f971f1b8240@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/fork.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/fork>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/fork/.metadata>, @config=#<Cask::Config:0x00007f971eb82150 @default={:appdir=>#<Pathname:/Applications>, :prefpanedir=>#<Pathname:/Users/loyalsoldier/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/loyalsoldier/Library/QuickLook>, :dictionarydir=>#<Pathname:/Users/loyalsoldier/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/loyalsoldier/Library/Fonts>, :colorpickerdir=>#<Pathname:/Users/loyalsoldier/Library/ColorPickers>, :servicedir=>#<Pathname:/Users/loyalsoldier/Library/Services>, :input_methoddir=>#<Pathname:/Users/loyalsoldier/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/loyalsoldier/Library/Screen Savers>}, @env={}, @explicit={}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007f971eb808c8 @cask=#<Cask::Cask:0x00007f971f1b8768 ...>, @token="fork", @version="1.0.91.1", @sha256="5e8c023bdee75c0df557d84051a616bdad14917e809b99e3e99cf7d667ca227e", @url=#<URL:0x00007f971eb802b0 @uri=#<URI::HTTPS https://forkapp.ams3.cdn.digitaloceanspaces.com/mac/Fork-1.0.91.1.dmg>, @user_agent=:default, @specs={}>, @appcast=#<Cask::DSL::Appcast:0x00007f971eb73948 @uri=#<URI::HTTPS https://git-fork.com/update/feed.xml>, @parameters={}>, @name=["Fork"], @homepage="https://git-fork.com/", @auto_updates=true, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/fork/1.0.91.1>, @language=nil>>, @source_string="Fork.app", @target_string="", @source=#<Pathname:/usr/local/Caskroom/fork/1.0.91.1/Fork.app>, @target=#<Pathname:/Applications/Fork.app>>, #<Cask::Artifact::Binary:0x00007f971ebd1868 @cask=#<Cask::Cask:0x00007f971f1b8768 @token="fork", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/fork.rb>, @tap=#<Tap:0x00007f971f189cb0 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f971f1b8240@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/fork.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/fork>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/fork/.metadata>, @config=#<Cask::Config:0x00007f971eb82150 @default={:appdir=>#<Pathname:/Applications>, :prefpanedir=>#<Pathname:/Users/loyalsoldier/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/loyalsoldier/Library/QuickLook>, :dictionarydir=>#<Pathname:/Users/loyalsoldier/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/loyalsoldier/Library/Fonts>, :colorpickerdir=>#<Pathname:/Users/loyalsoldier/Library/ColorPickers>, :servicedir=>#<Pathname:/Users/loyalsoldier/Library/Services>, :input_methoddir=>#<Pathname:/Users/loyalsoldier/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/loyalsoldier/Library/Screen Savers>}, @env={}, @explicit={}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007f971eb808c8 @cask=#<Cask::Cask:0x00007f971f1b8768 ...>, @token="fork", @version="1.0.91.1", @sha256="5e8c023bdee75c0df557d84051a616bdad14917e809b99e3e99cf7d667ca227e", @url=#<URL:0x00007f971eb802b0 @uri=#<URI::HTTPS https://forkapp.ams3.cdn.digitaloceanspaces.com/mac/Fork-1.0.91.1.dmg>, @user_agent=:default, @specs={}>, @appcast=#<Cask::DSL::Appcast:0x00007f971eb73948 @uri=#<URI::HTTPS https://git-fork.com/update/feed.xml>, @parameters={}>, @name=["Fork"], @homepage="https://git-fork.com/", @auto_updates=true, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/fork/1.0.91.1>, @language=nil>>, @source_string="/Applications/Fork.app/Contents/Resources/fork_cli", @target_string="fork", @source=#<Pathname:/Applications/Fork.app/Contents/Resources/fork_cli>, @target=#<Pathname:/usr/local/bin/fork>>, #<Cask::Artifact::Zap:0x00007f971ebc3330 @cask=#<Cask::Cask:0x00007f971f1b8768 @token="fork", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/fork.rb>, @tap=#<Tap:0x00007f971f189cb0 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f971f1b8240@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/fork.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/fork>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/fork/.metadata>, @config=#<Cask::Config:0x00007f971eb82150 @default={:appdir=>#<Pathname:/Applications>, :prefpanedir=>#<Pathname:/Users/loyalsoldier/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/loyalsoldier/Library/QuickLook>, :dictionarydir=>#<Pathname:/Users/loyalsoldier/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/loyalsoldier/Library/Fonts>, :colorpickerdir=>#<Pathname:/Users/loyalsoldier/Library/ColorPickers>, :servicedir=>#<Pathname:/Users/loyalsoldier/Library/Services>, :input_methoddir=>#<Pathname:/Users/loyalsoldier/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/loyalsoldier/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/loyalsoldier/Library/Screen Savers>}, @env={}, @explicit={}, @binarydir=#<Pathname:/usr/local/bin>>, @dsl=#<Cask::DSL:0x00007f971eb808c8 @cask=#<Cask::Cask:0x00007f971f1b8768 ...>, @token="fork", @version="1.0.91.1", @sha256="5e8c023bdee75c0df557d84051a616bdad14917e809b99e3e99cf7d667ca227e", @url=#<URL:0x00007f971eb802b0 @uri=#<URI::HTTPS https://forkapp.ams3.cdn.digitaloceanspaces.com/mac/Fork-1.0.91.1.dmg>, @user_agent=:default, @specs={}>, @appcast=#<Cask::DSL::Appcast:0x00007f971eb73948 @uri=#<URI::HTTPS https://git-fork.com/update/feed.xml>, @parameters={}>, @name=["Fork"], @homepage="https://git-fork.com/", @auto_updates=true, @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/fork/1.0.91.1>, @language=nil>>, @directives={:trash=>["~/Library/Application Support/Fork", "~/Library/Application Support/com.DanPristupov.Fork", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.danpristupov.fork.sfl2", "~/Library/Caches/com.DanPristupov.Fork", "~/Library/Cookies/com.DanPristupov.Fork.binarycookies", "~/Library/Logs/Fork.log", "~/Library/Preferences/com.DanPristupov.Fork.plist", "~/Library/Saved Application State/com.DanPristupov.Fork.savedState", "~/Library/WebKit/com.DanPristupov.Fork"], :signal=>[]}>}>
==> Uninstalling artifact of class Cask::Artifact::App
==> Backing App 'Fork.app' up to '/usr/local/Caskroom/fork/1.0.91.1/Fork.app'.
/bin/cp -pR /Applications/Fork.app /usr/local/Caskroom/fork/1.0.91.1/Fork.app
==> Removing App '/Applications/Fork.app'.
==> Uninstalling artifact of class Cask::Artifact::Binary
==> Unlinking Binary '/usr/local/bin/fork'.
==> Dispatching zap stanza
==> Trashing files:
~/Library/Application Support/Fork
~/Library/Application Support/com.DanPristupov.Fork
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.danpristupov.fork.sfl2
~/Library/Caches/com.DanPristupov.Fork
~/Library/Cookies/com.DanPristupov.Fork.binarycookies
~/Library/Logs/Fork.log
~/Library/Preferences/com.DanPristupov.Fork.plist
~/Library/Saved Application State/com.DanPristupov.Fork.savedState
~/Library/WebKit/com.DanPristupov.Fork
/usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift /Users/loyalsoldier/Library/Application\ Support/Fork /Users/loyalsoldier/Library/Application\ Support/com.DanPristupov.Fork /Users/loyalsoldier/Library/Caches/com.DanPristupov.Fork /Users/loyalsoldier/Library/Cookies/com.DanPristupov.Fork.binarycookies /Users/loyalsoldier/Library/Logs/Fork.log /Users/loyalsoldier/Library/Preferences/com.DanPristupov.Fork.plist /Users/loyalsoldier/Library/Saved\ Application\ State/com.DanPristupov.Fork.savedState /Users/loyalsoldier/Library/WebKit/com.DanPristupov.Fork
/usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
/usr/bin/chflags -R -- 000 '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chflags:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/bin/chmod -R -- u\+rwx '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chmod:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/bin/chmod -R -N '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chmod: Failed to clear ACL on file
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
==> Using sudo to gain ownership of path '
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFound
/usr/bin/sudo -E -- /usr/sbin/chown -R -- loyalsoldier '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
Password:
chown:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
/usr/bin/chflags -R -- 000 '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chflags:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/bin/chmod -R -- u\+rwx '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chmod:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/bin/chmod -R -N '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chmod: Failed to clear ACL on file
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
/usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
/usr/bin/chflags -R -- 000 '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chflags:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/bin/chmod -R -- u\+rwx '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chmod:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/bin/chmod -R -N '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chmod: Failed to clear ACL on file
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
==> Using sudo to gain ownership of path '
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFound
/usr/bin/sudo -E -- /usr/sbin/chown -R -- loyalsoldier '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chown:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
/usr/bin/chflags -R -- 000 '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chflags:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/bin/chmod -R -- u\+rwx '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chmod:
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/bin/chmod -R -N '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
chmod: Failed to clear ACL on file
#import "Headers/CoreFoundation.h"
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h: No such file or directory
/usr/local/Homebrew/Library/Homebrew/cask/utils/trash.swift '
'\#import\ \"Headers/CoreFoundation.h\"'
'\ \ \ \ \ \ \ \ \^'
'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h
^C
brew cask doctorā brew cask doctor
==> Homebrew Version
2.2.11-56-ged09857
==> macOS
10.15.4
==> SIP
Enabled
==> Java
N/A
==> xattr issues
<NONE>
==> Gatekeeper support
Error: Unknown support status
==> Homebrew Cask Install Location
<NONE>
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3524 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions (156 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-fonts (950 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-drivers (135 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.38.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.5.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-0.80.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unicode-display_width-1.6.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-wait-0.0.9/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-retry-0.6.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-its-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-mocks-3.9.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-expectations-3.9.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-core-3.9.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-support-3.9.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ronn-0.7.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rexml-3.2.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rdiscount-2.2.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/rdiscount-2.2.0.1
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rainbow-3.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parser-2.7.0.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel_tests-2.32.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel-1.19.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mustache-1.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/webrobots-0.1.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ntlm-http-0.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/nokogiri-1.10.9/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/nokogiri-1.10.9
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mini_portile2-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-persistent-3.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-digest_auth-1.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-3.3.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-data-3.2019.1009/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/jaro_winkler-1.5.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/jaro_winkler-1.5.4
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/http-cookie-1.0.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/hpricot-0.8.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/hpricot-0.8.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/domain_name-0.5.20190701/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf-0.1.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf_ext-0.0.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/unf_ext-0.0.7.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/diff-lcs-1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/coveralls-0.8.23/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thor-1.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/term-ansicolor-1.7.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tins-1.24.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../../../../../../../../Library/Ruby/Gems/2.6.0/gems/sync-0.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-0.16.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-html-0.10.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/docile-1.3.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json-2.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/json-2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/connection_pool-2.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ast-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.0.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/minitest-5.14.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.8.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/x86_64-darwin19
/Library/Ruby/Site/2.6.0/universal-darwin19
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin"
SHELL="/bin/zsh"
brew tapā brew tap
beeftornado/rmtree
buo/cask-upgrade
homebrew/bundle
homebrew/cask
homebrew/cask-drivers
homebrew/cask-fonts
homebrew/cask-versions
homebrew/core
homebrew/services
vitorgalvao/tiny-scripts
Error seems to be in trash.swift. Pinging @amyspark.
I am not sure if this is related, but since upgrading my CLT:
-bash-5.0.16- /Users/miccal (32) [> brew config
[snip]
HOMEBREW_CASK_OPTS: --no-quarantine
[snip]
CLT: 11.4.0.0.1.1583798712
[snip]
I am getting the following error after a short hang when running brew cask doctor for Gatekeeper support:
-bash-5.0.16- /Users/miccal (32) [> brew cask doctor
[snip]
==> Gatekeeper support
Error: Unknown support status
[snip]
Started after upgrading macOS to 10.15.4, Xcode/CLT to 11.4 release. It wasn't observer with beta 10.15.4 or beta Xcode/CLT 11.4.
Any ideas what could be the reason?
osx 10.15.4
clt 11.4.0.0.1.1583798712
brew cask zap xmind
CoreFoundation.h: No such file or directory
CoreGraphics.h: No such file or directory
The only error in doctor is also
Gatekeeper support
Error: Unknown support status
Same thing here :/
~~~ sh
brew cask doctor
==> Homebrew Version
2.2.13
==> macOS
10.15.4
==> SIP
Disabled
==> Java
N/A
==> xattr issues
==> Gatekeeper support
Error: Unknown support status
==> Homebrew Cask Install Location
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3537 casks)
/usr/local/Homebrew/Library/Taps/danielbayley/homebrew-dotfiles (48 casks)
/usr/local/Homebrew/Library/Taps/popcorn-official/homebrew-popcorn-desktop (2 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions (155 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-fonts (916 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.38.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.5.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rexml-3.2.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.0.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.8.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/universal-darwin19
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin"
SHELL="/bin/zsh"
~~~
I'm also seeing the same issue with any brew cask zap command I run.
⯠brew cask doctor
==> Homebrew Version
2.2.13
==> macOS
10.15.4
==> SIP
Enabled
==> Java
N/A
==> xattr issues
<NONE>
==> Gatekeeper support
Error: Unknown support status
==> Homebrew Cask Install Location
<NONE>
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3538 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-drivers (146 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.38.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.5.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rexml-3.2.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.0.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.8.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/universal-darwin19
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin"
SHELL="/bin/zsh"
and
⯠brew config
HOMEBREW_VERSION: 2.2.13
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3d9cf83fec45a75af61551f53d25383abe009d31
Last commit: 10 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 23ff5a18731e9e60f88ea2a3bae069b0db9aa0a5
Core tap last commit: 6 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_MAKE_JOBS: 8
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1103
Git: 2.26.2 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.4-x86_64
CLT: 11.4.1.0.1.1586360307
Xcode: N/A
Update: I waited for more time, the messages kept coming, but by the end everything turned out fine. Go figureā¦
I ran brew cask zap mactex and for the last 15 minutes Iāve been seeing:
chown: 20: No such file or directory
chflags: 20: No such file or directory
chmod: 20: No such file or directory
chmod: Failed to clear ACL on file 20: No such file or directory
chflags: 20: No such file or directory
chmod: 20: No such file or directory
chmod: Failed to clear ACL on file 20: No such file or directory
==> Using sudo to gain ownership of path '20'
chown: 20: No such file or directory
chflags: 20: No such file or directory
chmod: 20: No such file or directory
chmod: Failed to clear ACL on file 20: No such file or directory
chflags: 20: No such file or directory
chmod: 20: No such file or directory
chmod: Failed to clear ACL on file 20: No such file or directory
==> Using sudo to gain ownership of path '20'
chown: 20: No such file or directory
over an over again.
Is this related to this issue here?
Should I worry?
For what itās worth, I checked the System Preferences and the Terminal does have Full-Disk Access.
I've experienced it too. And it is not the first time that Software Update messed my CLT installation. What always worked for me was:
uninstalling current version (official docs)
$ sudo rm -rf /Library/Developer/CommandLineTools
manually installing newer one from https://developer.apple.com/download/more/
To save you from searching here is a direct link to the latest version: https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_11.4.1/Command_Line_Tools_for_Xcode_11.4.1.dmg
Of course, this only applies if you are using standalone CLT installation, not those bundled with Xcode which is mostly the case here as I can see from your brew config outputs.
Hope it helps š¤
It works! Thanks @vladimyr
I have to do something similar to what @vladimyr described every time I update macOS to make npm install work again.
I have been also facing similar problem after the update. But what @vladimyr is mention here is the only way that I can resolve the issue as of now.
Hello, @vladimyr! the solution described here didn't help me. The error is repeated on all my apple devices with Дatalina. I tried to reinstall the system and just reinstall the CLT. Nothing is working.
Above solution did not work for me either, brew cask doctor still gives
==> Gatekeeper support
Error: Unknown support status
Itās clear we need to fix the swift trash script. Iām not on Catalina (and likely will never be) so I canāt take a stab at it. If anyone has any understanding of Swift, theyāre welcome to try.
If no one can do it, weāll need to remove it to remove the trashing and start outright deleting again.
From this comment on, reports that donāt add new information (such as āIām experiencing this tooā) will only muddy the conversation, and as such will be deleted.
Could we replace the Swift trash script with an utility such as http://hasseg.org/trash/ ? (This is just an example, there are plenty of other options.)
Could we replace the Swift trash script with an utility such as http://hasseg.org/trash/ ? (This is just an example, there are plenty of other options.)
Perhaps. Iāve considered that in the past, but ideally we wouldnāt be dependent on something external which can also change from under our feet without warning. Fixing what we have should be the first option.
We could also do it with AppleScript / JXA (I have a working script for that and could maintain it), but thereās a bug that doesnāt allow trashing multiple items at once if at least one of those is a directory.
Iāve filed a bug report with Apple, but as anyone who has ever filed a radar can predict, nothing ever came of it.
but thereās a bug that doesnāt allow trashing multiple items at once if at least one of those is a directory.
@vitorgalvao Could a workaround be to call the script on each item in that case?
@vitorgalvao Could a workaround be to call the script on each item in that case?
Yes, thatās what I do. But that means hearing the trashing sound multiple times in a row (and that āZ doesnāt work to put everything back in their place).
Thatās fine if youāre aware of it, but if youāre not, youāll be surprised by the machine gun of trashing sounds (exaggeratingāitās not that fast), which means repeated bug reports.
Ostensibly, opening multiple radars helps an issue be bumped up, so if anyone wants to open a duplicate (warning; I havenāt tested on Catalina, so you may want to verify that first), mention itās a duplicate of radar 42477993 / FB5715339:
Area:
Automation
Summary:
We can use JavaScript for Automation (JXA) to tell the Finder to trash items. This works in every configuration of single arguments and arrays except when the array contains a directory.
Steps to Reproduce:
Before each step, create files file1.txt and file2.txt as well as directory dir.
Trash a single file (it works):
Application("Finder").delete(Path("/Users/name/file1.txt"))
Trash a single directory (it works):
Application("Finder").delete(Path("/Users/name/dir1"))
Trash an array of files (it works):
Application("Finder").delete([Path("/Users/name/file1.txt"), Path("/Users/name/file1.txt")])
Trash an array that includes a directory (it does not work, even if itās an array of a single item):
Application("Finder").delete([Path("/Users/name/dir1")])
This always produces an error: Error -1728: Can't get object.
Expected Results:
There should be no difference between directories and files, in and out of arrays.
Actual Results:
An error: Error -1728: Can't get object.
@vitorgalvao Why not running Catalina?
But that means hearing the trashing sound multiple times in a row
Maybe it could temporarily mute system UI audio and quickly restore after running the script? Something like: defaults write com.apple.systemsound com.apple.sound.uiaudio.enabled -bool falseā¦
Ostensibly, opening multiple radars
I read recently something about them migrating that whole [largely ignored] radar system to the new _Feedback Assistant_. Not sure if it's actually a new improved system or just putting lipstick on a pig, but I'll try and file it through /System/Library/CoreServices/Applications/Feedback Assistant.app anyway.
Edit: I can confirm this bug still isn't fixed in Catalina 10.15.4⦠So I submitted it through Feedback Assistant under macOS > JavaScriptCore.
@vitorgalvao Why not running Catalina?
Because despite all this time, itās still buggy as hell. It has no features that interest me, and plenty of bugs and changes I donāt want. Seeing as Mojave still gets security updates, I see no reason to upgrade.
Plenty of other people arenāt upgrading unless forced (buying a new machine) and I think itās important for Apple to understand via real numbers that theyāre doing a bad job.
There are a few apps that I use that have Catalina-only upgrades, but I donāt care about any of them enough to go through the other disadvantages.
Maybe it could temporarily mute system UI audio and quickly restore after running the script? Something like:
defaults write com.apple.systemsound com.apple.sound.uiaudio.enabled -bool falseā¦
But then we also need to check first if the audio is muted (because if it is, we donāt want to unmute). So itās workarounds all the way down, which never ends well.
I read recently something about them migrating that whole [largely ignored] radar system to the new _Feedback Assistant_.
They did, yes. The FB5715339 is the new numbering system (FB for āfeedbackā, presumably).
Not sure if it's actually a new improved system or just putting lipstick on a pig
Seems about the same, but now itās an app instead of a web page.
I can confirm this bug still isn't fixed in Catalina 10.15.4⦠So I submitted it through Feedback Assistant under macOS > JavaScriptCore.
Thank you.
@vitorgalvao Fair enough. They definitely need to get their act together⦠I can't see any excuse; it can't possibly be a lack of resources given the prices of this new machine!
Today I upgrade to the latest Command Line Tools, it seems that this problem has been fixed.
ā /usr/sbin/pkgutil --pkg-info com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 11.5.0.0.1.1588476445
volume: /
location: /
install-time: 1590015357
groups: com.apple.FindSystemFiles.pkg-group
Today I upgrade to the latest Command Line Tools, it seems that this problem has been fixed.
Good news if thatās the case. Letās wait for more confirmations.
This issue was also fixed for me by upgrading Command Line Tools.
Successfully zapped pesky flash-npapi after the update. Thanks apple, I know you hate fixing bugs but that was good job for once.
Thank you everyone for the reports.
Updated my tools yesterday and still have the issue :(
Still have the issue. Reopen please.
Having this issue too.
Reinstalling as @vladimyr said worked for me.
It seems that you need to reinstall CLITools each time you upgrade macOS 10.15.x.
It seems that you need to reinstall
CLIToolseach time you upgrade macOS10.15.x.
TBH I do it every time I see Software Update updated it. š
Reinstalling as @vladimyr said worked for me.
Same here, using Command Line Tools for Xcode 11.5 - May 20, 2020
I was running into this problem and fixed it by resetting the command line tools path:
sudo xcode-select --reset
No need to reinstall command line tools. š
I had fixed this issue on my Catalina install with Xcode.app as xcode-select -s by removing swiftgen formula. Before that I saw:
chflags: Class _TtCVVs10__CocoaSet5Index7Storage is implemented in both /usr/lib/swift/libswiftCore.dylib (0x7fff97915e90) and /usr/local/Cellar/swiftgen/6.2.0/lib/libswiftCore.dylib (0x10e541720). One of the two will be used. Which one is undefined.
Beware: when I fixed this command brew cask zap android-file-transfer wiped my whole ~/Library/Application Support/Google/, including my Google Chrome and Google Drive profiles, so I need to resetup my Chrome and re-sync my two Google Drive accounts. In fact rmdir: removed non-empty folder. But I no-longer can reproduce this.
Aware: when I fixed this command
brew cask zap android-file-transferwiped my whole~/Library/Application Support/Google/, including my Google Chrome and Google Drive profiles, so I need to resetup my Chrome and re-sync my two Google Drive accounts. In factrmdir:removed non-empty folder. But I no-longer can reproduce this.
By design: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/android-file-transfer.rb#L17
Whether the cask should delete the whole folder is another topic. A bit intrusive by my estimate.
According to reference:
rmdir: (string or array) - single-quoted, absolute paths of directories to remove if empty. Works recursively.
I can definitely say that it was non-empty, I saw progress of my Chrome profiles being removed.
Most helpful comment
I've experienced it too. And it is not the first time that Software Update messed my CLT installation. What always worked for me was:
uninstalling current version (official docs)
manually installing newer one from https://developer.apple.com/download/more/
To save you from searching here is a direct link to the latest version: https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_11.4.1/Command_Line_Tools_for_Xcode_11.4.1.dmg
Of course, this only applies if you are using standalone CLT installation, not those bundled with Xcode which is mostly the case here as I can see from your
brew configoutputs.Hope it helps š¤