

However, according to the same issue:Įven with this merged, it is unreleased (v0.0) and subject to change. Verify that the list now has the Command Line Tools mentioned by running softwareupdate -l again. Actually, if ProductVersion is less then 10.15, then fix of this post may not be applicable.

Run swvers in terminal to check your MacOS version.
No xcode or clt version detected install#
The /golang/protobuf version of protoc-gen-go continues to support gRPC and will continue to do so for the foreseeable future.įollowing an update from in the comments, according to the Tracking issue on github, protoc-gen-go-grpc has now been merged. gyp: No Xcode or CLT version detected Reference: Installation notes for macOS Catalina (v10.15) Check MacOS version. npm install fails on node-gyp rebuild with gyp No Xcode or CLT version detected - NodeJS Glasses to protect eyes while coding.

In the future, gRPC service generation will be supported by a new protoc-gen-go-grpc plugin provided by the Go gRPC project. The v1.20 protoc-gen-go does not support generating gRPC service definitions. Protoc -go-grpc_out="$GO_GEN_PATH" -I "$dependecies" "$proto" Protoc -go_out="$GO_GEN_PATH" -I "$dependecies" "$proto" Then use the following command to generate the code. In order to run the new code generation will be necessary to install the following gRPC gen plugins: go get -u /protobuf/cmd/protoc-gen-go You can learn more about the new API here and here The Golang Protobuf has released a new version of Go protocol buffers which they are calling it as the APIv2.īecause APIv2 is not backwards compatible with APIv1, therefore we will need to adapt all our Golang code for the new API. Ĭommand below should fix it go install /grpc/cmd/protoc-gen-go-grpc The missing plugin has been implemented at.
