I swear -derivedDataPath was working for a while, but then it stopped. After a git clean -dfx, xcodebuild started ignoring the -derivedDataPath setting, and writing to ~/Library/Xcode/Developer/DerivedData again.
Why can't xcodebuild just do the same thing as Xcode's build button?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: