diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb index 5b187e7bf6..4aa6126590 100644 --- a/Library/Homebrew/sandbox.rb +++ b/Library/Homebrew/sandbox.rb @@ -74,6 +74,7 @@ class Sandbox # Xcode projects expect access to certain cache/archive dirs. def allow_write_xcode allow_write_path "#{Dir.home(ENV.fetch("USER"))}/Library/Developer" + allow_write_path "#{Dir.home(ENV.fetch("USER"))}/Library/Caches/org.swift.swiftpm" end def allow_write_log(formula)