Hot Door CORE Forum

Full Version: Configuring Xcode for CORE 0.8.0 Intel targets
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How does one configure Xcode 12.4 (macOS 11.6.2) to compile the X86 targets in CORE 0.8.0? I did the trick described in the "Getting Started" section of the CORE site to copy the three older SDKs into the Xcode app contents. When I tried compiling the Panel sample project (or my own projects) I ran into strange errors including the following:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:448:1: Unknown type name '__END_DECLS'

I ran the XcodeLegacy script, which installed many more SDKs into the Xcode package (verified by examining package contents), but I get the same error.

I can, however, compile the 0.8.0 projects using Xcode 10.3.

When I launch AI25 via the debugger in Xcode 10.3, it crashes sometime after the PostStartup event, but before AI is actually running. I can, fortunately, launch AI25 separately, then attach the process in Xcode, but I can't help what else is compromised during the whole debugging process.

Any recommendations would be much appreciated.