Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Posted on Apr 14, 2020 7:15 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 14, 2020 8:01 AM

Ok I worked out my issue. My executable was named "myProgram_1.0"


using the period in the executable name was confusing the executable extension changing it to an underscore solved my issue.

Similar questions

1 reply

Xcode builds document instead of executable

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.