Where does Xcode save program executables or equivalent files?

I am trying to redirect I / O to access my program from a file. I need to know where the executable is located in order to enter it into the terminal. I am on a mac using Xcode in C. Also, I can use the terminal for input only.

+6
source share
2 answers

Go to Xcode> Preferences> Location:

enter image description here

+10
source

I believe you are looking for ~/Library/Developer/Xcode/DerivedData . In newer versions of Mac OS X, to get to the library folder, open Finder, then click "Go" in the menu bar. When the menu is open, press the Option (alt) key and the Library will appear. Hope this helps!

+3
source

All Articles