In Xcode how to save Build Location?

When I compile a program with Xcode I would like the executable to be created in the same spot (relative to the project) from computer to computer and some place that is relatively easy to find. Normally it seems that Xcode creates a random directory -- something like:


~/Library/Developer/Xcode/DerivedData/MyProgram-adupndcwygevqrgbiwzoofsweqcl/** ild/Products/Debug/MyProgram

If I go to:

Xcode | Preferences... | Locations | Derived Data | Advanced...

I can set:

Build Location to Custom -- Relative to Workspace


But I don't see any way to save this information in the .xcodeproj so the next time I build (perhaps on a different computer) I have to go back and set this in the Preferences again.


I'm creating a "Command Line Tool" in C++ with Xcode Version 6.4 (6E35b) and OS X Version 10.10.5 (14F27)


Is there some other place I can set this in the project so I (or other developers) will get the executable in a know location?


Thanks!


User uploaded file

Posted on Aug 17, 2015 8:54 AM

Reply
4 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

In Xcode how to save Build Location?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.