Targeting macOS 10.13 from Xcode 14.2 on macOS 13.1 Ventura: is it possible?

I compile plugins for Adobe Illustrator for the Mac using the CORE libraries from Hot Door, and since updating from Big Sur to Ventura, all is going well except for builds targeting Adobe Illustrator 2019 and 2020, which use the 10.13 SDK (I manually added the 10.13, 10.14, and 11.1 SDKs per Hot Door's instructions http://hotdoorcore.com/gettingstarted.php).

I fear that from Ventura, this is simply not possible any more, but here's what's happening. I'm having a similar problem to this thread, from years ago:

https://developer.apple.com/forums/thread/115518

I downloaded and installed command line tools for macOS 10.13. After restarting my Mac, I still get the following error only when compiling for a macOS 10.13 target:

'CoreFoundation/CFString.h' file not found

In Xcode Settings > Locations I have the Command Line Tools set to Xcode 14.2, which is the only available option.

I don't know if this is related, but I also get an error in __config line 1123 'No thread API'

Any suggestions would be much appreciated.

Targeting macOS 10.13 from Xcode 14.2 on macOS 13.1 Ventura: is it possible?
 
 
Q