An interesting hack which, I have to admit, feels like it should be so unnecessary, but hey … thats the world we live in.
Another option is to use UTM (virtual machine manager) and either of the mist-cli/mist.app tools:
UTM:
mist-cli:
Or the mist App:
This has the advantage that you won’t clutter your development system with other tooling, and can isolate builds in a more clinical manner - for some projects this is important (i.e. AAX builds with notarization, etc.) and its also an easier way to back things up for projects that start to gain higher value/traction.
(Codesigning and notarization with Apple necessitates using the Mac desktop front-end, as it can be quite cumbersome to set up notarization to function over ssh - so this is why I suggest using UTM.)
Note that the use of UTM is best when applied on not-the-latest hardware, i.e. the new M4 Mac Mini has issue with virtualizing MacOS versions 12 - 13.3, so its wise to re-purpose slightly older machines for this task.
I have a somewhat easier and less dirty solution for the moment. There’s currently only a single method that doesn’t compile under Sequoia, it’s purpose is to take screenshots programmatically, as far as I can see it’s not used anywhere in the lib, and doesn’t have much use inside a plugin.
So the solution is to just delete the offending methods. Only 1 file needs editing, here’s the diff: