Tuesday, April 28, 2015

Where does Xcode put compiled C++ executable

I needed to make a quick C++ console app the other day and thought I'd use Xcode. It worked fine but I wondered where the file was placed and it is miles away!

The program was called traindata

In fact, it is here:


/Users/johnr/Library/Developer/Xcode/DerivedData/traindata-frnrpuzfjjiemzhbqbxvjomrwamj/Build/Products/Debug