Skip to content

protoc-gen-swiftgrpc: program not found or is not executable #322

@zhaxylykbayev

Description

@zhaxylykbayev

HI!
I made everything as in readme.md, but when i run protoc --swiftgrpc_out=. getting this message:
protoc-gen-swiftgrpc: program not found or is not executable
--swiftgrpc_out: protoc-gen-swiftgrpc: Plugin failed with status code 1.
I have already put protoc-gen-swift into my folder with proto file, added this directory to PATH with no result.

Also, Do I have to get 2 files? Because i'm getting only 1 pb.swift file
Additionally, i've checked this example https://github.com/JacopoMangiavacchi/PokemonBot of @JacopoMangiavacchi and he have second file pokemon.grpc.swift which is generated by the protocol buffer compiler. So, i'm assuming that command protoc --swiftgrpc_out=. should generate this file.
Please, help. I'm new in grpc and protocol buffers

PS: libprotoc 3.6.1, see attached screen of my proto file
2018-10-21 2 13 28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions