akka-grpc currently does not support code generation on Apple Silicon/M1 - it uses the protoc-jar 1 project, and this does not currently support the aarch_64 platform.
Normally I would just create PRs to add this support to protoc-jar and then akka-grpc, but a PR to add support to protoc-jar 2 has been sitting since Jan 2021, and comments on that PR and others make it clear the maintainer is intentionally not merging PRs until more sponsorship eventuates.
I’m not litigating the protoc-jar maintainers choice - it’s their project, so up to them how to operate it and where to put their effort.
I do however want to have an M1 native development toolchain for akka-grpc, and protoc-jar is not evolving/updating to newer platforms and protoc-jar versions (last commit is over a year ago now) that would allow that.
Can anyone from the Akka team comment on their plans in this area - am happy to contribute if there is a clear direction the community can get behind.
with rosetta2 installed I successfully use akka-grpc plugin to generate classes. If plugin version that you use is too old, you can try to add (ThisBuild / PB.protocVersion) := "3.18.0" to build.sbt
to install rosetta use /usr/sbin/softwareupdate --install-rosetta --agree-to-license