Can I get the derived data path from xcodetools?

Viewed 1057

I have scripts that do things with files in the derived data directories of some projects. By default, they live at:

~/Library/Developer/Xcode/DerivedData/MyProject-gcfeadjvfsnyrwbxinmywoozajcf

I don't want to hardcode it, and I don't want to set it explicity. Can I get Xcode to tell me what it would use by default? The output of xcodebuild -dry-run and xcodebuild -list didn't help me.

1 Answers
Related