Re: Can't find the damn executable
Re: Can't find the damn executable
- Subject: Re: Can't find the damn executable
- From: Thomas Wetmore <email@hidden>
- Date: Tue, 06 May 2014 23:20:25 -0400
Or the other obvious answer of adding a copy file step to your build phase to put a copy of the program in your local bin at the end of each successful build. Since your path will be pointing there your program is always ready to execute from the command line no matter what directory you are in.
Tom Wetmore
On May 6, 2014, at 10:51 PM, Gordon Apple <email@hidden> wrote:
> Nobody has mentioned the obvious. Select the product in the files list, then in the File menu: “Show in Finder”.
>
>
> On 5/6/14 7:42 PM, "email@hidden" <email@hidden> wrote:
>
>> Okay, I've got a command-line app project. I've got it to the point where I can run it in the debugger, but I can't specify the command-line arguments. So I figured I'd run it from Terminal.app, but I can't find where the executable is?!?!? It's not in the same folder as the project, nor is there a "Build" folder in there, either. Yet, it's clearly running the (debugger build) when I click the "Run" arrow on the Xcode toolbar (I can see the output in the console pane under the (source code) editor pane). Where in the bloody hell is it sticking the executable (I already looked in Deployment > Installation directory and deleted the text there - "/usr/local/bin" - thinking that would force it to put it in the local project directory, since that's the setting for Deployment > Installation directory for a regular Cocoa app)? I even tried cleaning the target, thinking that was necessary to force it to build the "Build" directory. Arrrrgggghhhhh...!!
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden