I know a way to change location DerivedData
using Xcode (Preferences-> Locations-> DerivedData ..).
However, the Mac I'm trying to build is in a remote location with only ssh access. I want to create a specific project in which I want to keep the location of DerivedData relative to the project.
Whenever I create a project using xcodebuild
, the files are eventually generated under /Users/builduser/Library/Developer/Xcode/DerivedData
, but I want them to be under "$ PROJECT / target / DerivedData"
What is the command line equivalent to changing the location settings of DerivedData, how is this done through Xcode?
source
share