Xcode builds document instead of executable
Hi there, I have made an application using c++ and XCode, when I compile and run within XCode it opens in it's own window and runs perfectly, however when I attempt to open the executable from finder, the product is not an executable, but a document and I can't open it.
normally compiling generates an executable so I am unsure why this has started happening now.
please advise.
Thanks