The project has both C and Objective C source code files. XCode won't build either .c or .m files because it doesn't include the .h files in the target so the functions in the .c and .m files are undefined. Also there are a few other weird errors like: NSString - unknown type. This is probably also a no headers error.
There is no Swift.
On June 15th I changed the location or an NSTextField in a .xib. XCode blew up and never worked again in spite of my extraordinary efforts to fix it, checking everything, reading the documentation, rebuilding everything and even buying a new Apple Silicon Mac (which I needed to do anyway), knowing that there is not really any help for Mac developers.
It is VERY unlikely that there is a name collision. This project was created in about 2010 so it would have been obvious by now. Also if you add the same file to an xcodeproj twice it will generate a warning so it is likely that XCode will report this as an error.
Here is an example of real source code in a .h file:
#include <stdio.h>
void cocoaAlertForC(char *errorType, char *message);
XCode underscores the void declaration and reports Expected identifier or '(' - obviously a spurious error. It does this with or without the #include.
There's just no way to Force XCode to recognize header files in the Build folder with the old Project or in the target in the newly created project.
DTS is not interested in helping me.
I feel like I have to give up.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: