Compiling old Carbon application on new OSX

Hello,


We have an old application completely based on Carbon API. It is huge and could take a while to make a conversion to Cocoa. I tried to compile the application with XCode 8.2.1 using SDK 10.4, but I always got this error:

malformed mach-o, symbol table not in __LINKEDIT


It seem that this SDK is not compatible with XCode 8. SDK 10.4 is coming from https://github.com/phracker/MacOSX-SDKs


Q1: There is a way to compile old Carbon application with XCode 8?

Q2: It can be an option to install a Mac with old XCode and old OSX (10.6?) to build this application?

Q3: Any other idea?


Thank you so much!


David