我正在使用https://github.com/googleapis/googleapis
中的Google助手API我尝试按照
所述使用protobuf编译assistantapi proto。https://developers.google.com/protocol-buffers/docs/reference/objective-c-generated
当我尝试运行protoc --proto_path = google / assistant / embedded / v1alpha2 / --objc_out = build / gen google / assistant / embedded / v1alpha2 / embedded_assistant.proto
我收到错误消息
google/api/annotations.proto: File not found.
google/type/latlng.proto: File not found.
embedded_assistant.proto: Import "google/api/annotations.proto" was not found or had errors.
embedded_assistant.proto: Import "google/type/latlng.proto" was not found or had errors.
embedded_assistant.proto:460:5: "google.type.LatLng" is not defined.
如何解决此问题并编译googleapis