At the moment Darling only supports running x86_64 macOS binaries.
There is on going work to make Darling run arm64 macOS binaries, but it hasn’t made much progress recently.
The architecture of your Linux machine needs to match the architecture of the macOS binary, which can support both x86_64 and arm64.


I had been using Kate for working on C++, Objective-C, and python projects both on macOS and Linux. I didn’t manage to get C++ debugging or the LSP integrations working, as it isn’t easy to figure out how to setup it up on different platforms.
In the last 6 months, I have switched over to Gram, and it is trivial to configure the LSPs and debuggers, and have since stopped using Kate.