Ensure the tests podspecs find the plugin they make

pull/2663/head
Jorge Canizales 9 years ago
parent f4ff31a642
commit 856aca8d26
  1. 4
      src/objective-c/generated_libraries/RemoteTestClient/RemoteTest.podspec
  2. 4
      src/objective-c/generated_libraries/RouteGuideClient/RouteGuide.podspec

@ -9,9 +9,9 @@ Pod::Spec.new do |s|
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.prepare_command = <<-CMD
cd ../../../..
make grpc_objective_c_plugin
make CONFIG=dbg grpc_objective_c_plugin
cd -
protoc --plugin=protoc-gen-grpc=../../../../bins/opt/grpc_objective_c_plugin --objc_out=. --grpc_out=. *.proto
protoc --plugin=protoc-gen-grpc=../../../../bins/dbg/grpc_objective_c_plugin --objc_out=. --grpc_out=. *.proto
CMD
s.subspec "Messages" do |ms|

@ -9,9 +9,9 @@ Pod::Spec.new do |s|
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.prepare_command = <<-CMD
cd ../../../..
make grpc_objective_c_plugin
make CONFIG=dbg grpc_objective_c_plugin
cd -
protoc --plugin=protoc-gen-grpc=../../../../bins/opt/grpc_objective_c_plugin --objc_out=. --grpc_out=. *.proto
protoc --plugin=protoc-gen-grpc=../../../../bins/dbg/grpc_objective_c_plugin --objc_out=. --grpc_out=. *.proto
CMD
s.subspec "Messages" do |ms|

Loading…
Cancel
Save