-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac OS M1 cpu build protobuf issue , I had fix it ,need update #464
Comments
It looks like it is fetching the correct binary but it is not there in the repo. Indeed I checked maven.alivun and the binary is not there. I do not know if this is a specific mirror for China but I am able to build the app here on my M1. However I use different repositories in grade |
It shoule be "com.google.protobuf:protoc:3.13.0:osx-x86_64" but not osx-aarch_64.exe , I got your source code ,there is not the code "osdetector.os == "osx" here |
@cherho0 no, it shouldn't. M1 is based on ARM (aarch_64) chipset and not on x86_64. aarc_64 is available under this maven repository: https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.18.1/ |
protobuf platform error
how to fix:
modify reactive_ble_mobile build.gradle
protoc {
add protoc_platform in gradle :
open ~/.gradle
open gradle.properties
add protoc_platform=osx-x86_64
hope update
The text was updated successfully, but these errors were encountered: