Compiling old code with XCode give the error [XSym <- Unknown type name ‘Xsym’]

When I try to compile with XCode an app that is about 10 years old gives me the following compiler errors in JSONModel.h header file. There are only 4 lines in that file.

Content of file with the error messages.

XSym <- Uknown type name ‘Xsym’
0075 <- Expected identifier or ‘(’
a7b090c047283ff76fc7f1def7ba7425
../../../JSONModel/JSONModel/JSONModel/JSONModel.h

The app was originally compiled wit XCode 3.2, targeting iPhone 7 Now I am using XCode 16, targeting iPhone 12.

Original coder is unaccessible. I am very new to this environment and any guidance / assistance is greatly appreciated.

Please let me know if it is more appropriate to post this somewhere else.

Answered by prismavi in 825020022

Thank you everyone for trying to help. Your effort is appreciated. I have resolved my problem by removing the first three lines and adding the #include directive in front of "../../../JSONModel/JSONModel/JSONModel/JSONModel.h". There were a total of 23 similar files that had to be fixed in this manner. Apparently the code is so old..... that it outdates all of us.

Accepted Answer

Thank you everyone for trying to help. Your effort is appreciated. I have resolved my problem by removing the first three lines and adding the #include directive in front of "../../../JSONModel/JSONModel/JSONModel/JSONModel.h". There were a total of 23 similar files that had to be fixed in this manner. Apparently the code is so old..... that it outdates all of us.

Compiling old code with XCode give the error [XSym &lt;- Unknown type name ‘Xsym’]
 
 
Q