Post

Replies

Boosts

Views

Activity

Too many Arguments To Function Call Using Xcode 13 MacOS 12.0SDK
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
1
0
462
Jan ’22
Xcode Error 254 When Running Linux Executable File
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.
5
0
806
Jan ’22