Hot Door CORE Forum
Configuring Xcode for CORE 0.8.0 Intel targets - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: General discussion (http://hotdoorcore.com/forum/forumdisplay.php?fid=3)
+--- Thread: Configuring Xcode for CORE 0.8.0 Intel targets (/showthread.php?tid=302)



Configuring Xcode for CORE 0.8.0 Intel targets - Rick Johnson - 01-25-2022

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.