Reputation: 368
I'm trying to do a I/O redirection to get input into my program from a file. I need to know where the executable file is located to enter it into the terminal. I'm on a mac, using Xcode, in C. Also, I can only use the terminal to get the input.
Upvotes: 8
Views: 15397
Reputation: 41
I believe that you are looking for ~/Library/Developer/Xcode/DerivedData
.
In newer versions of Mac OS X, to get to the Library folder, open up Finder, then press "Go" in the menu bar. Once the menu is open, press the Option(alt) key, and Library should appear.
Hope this helps!
Upvotes: 4