ObjC gRPC never released version 0.15. We will release version 1.0 soon.
Recommended way is now to get Protoc and the plugin directly from
Cocoapods.

See
https://github.com/grpc/grpc/blob/master/examples/objective-c/route_guide/RouteGuide.podspec
for an example.


On Mon, Jul 18, 2016 at 3:58 PM, <[email protected]> wrote:

> Maybe better to
> pass `--plugin=protoc-gen-grpc=/usr/local/bin/grpc_objective_c_plugin`
> or `--plugin=protoc-gen-objcgrpc=/usr/local/bin/grpc_objective_c_plugin` to
> `protoc` command... I modified the sample project podspec to do this.
>
> Seems that protoc expects plugins for languages to have a certain name,
> but Homebrew installs those plugins with a different name... go figure.
>
> -Tom
>
>
> On Wednesday, July 13, 2016 at 5:44:55 PM UTC-7, [email protected] wrote:
>>
>> Possible bug in the 0.15.0 brew formula for gRPC.
>>
>> After installing gRPC with `curl -fsSL https://goo.gl/getgrpc | bash -`,
>> using protoc with objective-c output (via pod install of a sample project)
>> gave the error:
>>
>> ```
>> protoc-gen-objcgrpc: program not found or is not executable
>> ```
>>
>> Seems that HomeBrew did not properly symlink the `protoc-gen-objcgrpc`
>> file for grpc.
>>
>> Here's how I fixed it:
>>
>> ```
>> cd /usr/local/Cellar/grpc/0.15.0/bin/
>> ln -s grpc_objective_c_plugin protoc-gen-objcgrpc
>> brew unlink grpc && brew link grpc
>> ```
>>
>> The above steps may also be necessary for other language plugins.
>>
>> Hope that helps someone.
>> Best,
>> Tom
>>
>> On Tuesday, October 6, 2015 at 3:58:58 PM UTC-7, [email protected]
>> wrote:
>>>
>>> Yep - I was using brew.
>>>
>>> grpc isn't on a --devel branch (although protoc is currently at 2.x for
>>> mainstream, 3.x for dev). I've used protoc for over a year in various
>>> configs - assume it's something interesting in my install state that wasn't
>>> upgradable or stuck.
>>>
>>> The fix for anyone else getting into this particular
>>>
>>> - remove all packages via brew (brew uninstall protoc; brew uninstall
>>> grpc)
>>> - run this: curl -fsSL https://goo.gl/getgrpc | bash -
>>>
>>>
>>> Cheers,
>>>
>>>
>>> Nick
>>>
>>> On Monday, October 5, 2015 at 3:55:51 PM UTC-7, Jorge Canizales wrote:
>>>>
>>>> Hi,
>>>>
>>>> what steps did you follow to install grpc? The recommended way for Macs
>>>> is to use homebrew
>>>> <https://github.com/grpc/grpc/tree/master/src/objective-c#install>. If
>>>> that's what you did, running "homebrew update" should make those problems
>>>> disappear.
>>>>
>>>> On Sunday, October 4, 2015 at 11:20:22 PM UTC-7, [email protected]
>>>> wrote:
>>>>>
>>>>> I fell over this when searching for the very same error message:
>>>>>
>>>>> "protoc-gen-objcgrpc: program not found or is not executable"
>>>>>
>>>>> However, I've not upgraded to El Capitan yet. Everything else is the
>>>>> same.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Nick.
>>>>>
>>>>> On Thursday, October 1, 2015 at 5:42:04 PM UTC-7, Constantine Vassilev
>>>>> wrote:
>>>>>>
>>>>>> I am using OS X 10.11 El Capitan
>>>>>> 1) Installed MacPorts for  El Capitan
>>>>>> 2) 3.0.0-alpha-4 from
>>>>>> https://github.com/google/protobuf/releases
>>>>>> 3) downloaded and installed gRPC 0.11
>>>>>>
>>>>>> $ git clone https://github.com/*grpc*/grpc.git
>>>>>>
>>>>>> $ cd grpc
>>>>>>
>>>>>> $ git *submodule* update --init
>>>>>>
>>>>>> $ make
>>>>>>
>>>>>> $ [sudo] make install
>>>>>>
>>>>>> Then tried to compile:
>>>>>> grpc/examples/objective-c/helloworld
>>>>>> with "pod install".
>>>>>>
>>>>>> Got the following message:
>>>>>> protoc-gen-objcgrpc: program not found or is not executable
>>>>>> --objcgrpc_out: protoc-gen-objcgrpc: Plugin failed with status code 1.
>>>>>>
>>>>>> What is wrong?
>>>>>>
>>>>> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/132d74e6-c620-4b39-a64c-20604d9fe51d%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/132d74e6-c620-4b39-a64c-20604d9fe51d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CALCUQvjQMFjHCSOR7_UZ-mV3G6pVKnY_dP86dEnRyOedD81QLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to