diff --git a/app/build.gradle b/app/build.gradle index 0fe19a8fa..bf1b1ef68 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -605,8 +605,14 @@ dependencies { } protobuf { + // Mac M1 workaround until we can bump the version. Dependent on A-S. + // See https://github.com/mozilla-mobile/fenix/issues/22321 protoc { - artifact = Deps.protobuf_compiler + if (osdetector.os == "osx") { + artifact = "${Deps.protobuf_compiler}:osx-x86_64" + } else { + artifact = Deps.protobuf_compiler + } } // Generates the java Protobuf-lite code for the Protobufs in this project. See