Hot Door CORE Forum
Apple silicon (M1) support - 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: Apple silicon (M1) support (/showthread.php?tid=279)



Apple silicon (M1) support - Rick Johnson - 06-04-2021

Given that Illustrator users are starting to run new versions of Illustrator for Apple processors, and have started asking for M1 versions of plugins, will there be an update to CORE to support that?

I've been compiling under Mojave to continue to run/test under CS6, but I'm pretty much expecting that building for the M1 will require the newest version of Xcode under the current macOS, plus an M1 Mac to test it. I'll miss running every supported version of Illustrator for both Mac and Windows on one Intel computer.


RE: Apple silicon (M1) support - garrett - 06-21-2021

Yes, we are working on support for Apple Silicon in hdi_core. It's too early to say much about what kind of build environment will be required, but certainly Xcode 12.x will be involved in some fashion.


RE: Apple silicon (M1) support - Rick Johnson - 07-14-2021

For various reasons I ended up upgrading from Mojave to Big Sur (macOS 11.4) and found that Xcode 10 wouldn't run. I followed the advice of this thread and it can now build, but Illustrator crashes when launching in debug mode.

https://stackoverflow.com/questions/64817964/xcode-10-3-does-not-work-on-macos-big-sur-11-0-1-non-beta

Edit: Xcode 10 crashes when launching AI 25 in debug mode, but AI 23 will launch a debug build after about two minutes.

Xcode 12 does work with CORE projects, but Illustrator initializes painfully slow in debug mode. Also, when running the Xcode Legacy script to set up Xcode 12, I had to replace line 616 in the XcodeLegacy.sh script in order to finish:

    hdiutil attach "$xcode4archive" "${ATTACH_OPTS[@]}"

Replace with this:

    hdiutil attach Xcode_4.6.3.dmg "${ATTACH_OPTS[@]}"

It's probably not the proper fix, but it got the job done.


RE: Apple silicon (M1) support - garrett - 01-20-2022

Apologies for the delay, but a new version of hdi_core was just released that has support for this now.

We also see the long debug mode launches - seems like a bug in either Xcode or macOS itself, after some research. My suggestion is to launch via e.g. the Finder and then attach Xcode manually after the fact.


RE: Apple silicon (M1) support - Rick Johnson - 02-28-2022

Thanks, Garrett, "Attach to Process" has been a lifesaver at times. Just out of curiosity, I timed launching AI26 in debug mode from Xcode 12 on an i9 iMac. It took over four minutes for AI26 to launch, then another 30 seconds to create a blank document. This is the only way, though, that I know of to benefit from using "cout" to send info such as variables to the console without having to stop at breakpoints. When attaching a process after launching from the Finder, there's no console output, and nothing like it in Windows (that I'm aware of). I've been toying with the idea of creating a console panel within adobe Illustrator that displays output like this. Ha, I can work on that four minutes at a time while I wait for my debug builds to launch!

BTW, I used one of my developer program support tickets to report the Xcode issues to Apple. I suppose there's some shred of hope that they'll download CORE and look into it.