Andres
Andres

Reputation: 11747

Set the DerivedData location in the same folder as project

I have a workspace with 3 different targets, for one of them I need to get the result of the build inside the folder where my code is.

I also need to build this using xcodebuild, I've been researching trying to find if there is some flag or configuration thing to achieve this but couldn't find it...

Is there a way of doing this???

Thanks!

Upvotes: 0

Views: 520

Answers (2)

arkus
arkus

Reputation: 437

There is a flag in xcodebuild command for that

-derivedDataPath PATH - specifies the directory where build 
                        products and other derived data will go

Upvotes: 1

Related Questions