Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: No executable file specified

Tags:

xcode4

Suddenly my program runs and compiles without error but will not open the executable. I get error dialog:

Error Starting Executable... No executable file specified. Use the file or exec-file command

I think this may have started when I created a "Workspace" of the same name. I did searches for the error but found nothing that made any sense.

I would hate to have to copy my work over to a new project because of this. Help!

Could this be a bug?

like image 511
Gnarlodious Avatar asked Aug 17 '26 09:08

Gnarlodious


1 Answers

If you are using GDB as default debugger (verify it under Product-Edit Scheme menu) you must specify the executable path that is contained under the app folder (Executable.app/Contents/MacOS/Executable).

like image 55
Gian Luigi Avatar answered Aug 21 '26 09:08

Gian Luigi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!