I was trying to build a piece of code and launch the generated linux executable with Xcode. I selected build and run. After code is build I saw that Xcode was showing "Running executable" and after 5seconds it showed finish with "Program ended with exit code: 254" in the output.
What is exit code 254 in xcode? I couldn't find the answer in google.
Check @OOPer comment