xcodebuild firing after every terminal command After every terminal command, the prompt becomes unresponsive for 2-3 seconds. During this time xcodebuild seems to be running:



Where would this hook be that's causing the xcodebuild to be fired? I couldn't find anything in my .zshrc.
The problem is that the Xcode license hasn't been accepted so when running git it tries to prompt you for accepting the license. For me running

sudo xcodebuild -license accept


fixed the issue