Reply to XCode Cloud permissions regression breaking homebrew installations It started to fail with the recent macOS 12.5.1 update. Changing the macOS version to 12.4 in Workflow environment settings fixes the issue in my case. Developer Tools & Services Xcode Cloud Aug ’22