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.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Getting the following error when trying to build code with MacOS 12.0 SDK. Any idea why I'm getting this error.
id Key; //Assume key has some data
IMP pEncoder;
pEncoder = [NSCoder_Pointer_Obj methodForSelector: @selector(encodeObject)];
(*pEncoder)(NSCoder_Pointer_Obj, @selector(encodeObject: ), key);
//Getting error in the above line
//Error: "Too many arguments to function call, expected 0, have 3
This code used to compile well with MacOS 10.14 SDK but compiling with 11 or 12 SDK