Update sample and test versions to -pre1.1

To use the 3.0.0-beta-4 version of protoc, which has the fix for oneofs
when using dynamic frameworks.
pull/7475/head
Jorge Canizales 9 years ago
parent 9e6372380d
commit 70ded7eecc
  1. 2
      examples/objective-c/auth_sample/AuthTestService.podspec
  2. 2
      examples/objective-c/helloworld/HelloWorld.podspec
  3. 2
      examples/objective-c/route_guide/RouteGuide.podspec
  4. 4
      src/objective-c/!ProtoCompiler-gRPCPlugin.podspec
  5. 8
      src/objective-c/!ProtoCompiler.podspec
  6. 2
      src/objective-c/examples/RemoteTestClient/RemoteTest.podspec
  7. 2
      src/objective-c/tests/RemoteTestClient/RemoteTest.podspec

@ -14,7 +14,7 @@ Pod::Spec.new do |s|
src = "../../protos"
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1"
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.1"
# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
pods_root = 'Pods'

@ -14,7 +14,7 @@ Pod::Spec.new do |s|
src = "../../protos"
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1"
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.1"
# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
pods_root = 'Pods'

@ -14,7 +14,7 @@ Pod::Spec.new do |s|
src = "../../protos"
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1"
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.1"
# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
pods_root = 'Pods'

@ -37,7 +37,7 @@ Pod::Spec.new do |s|
# before them.
s.name = '!ProtoCompiler-gRPCPlugin'
v = '1.0.0-pre1'
s.version = v
s.version = "#{v}.1" # .1 to depend on protoc 3.0.0-beta-4
s.summary = 'The gRPC ProtoC plugin generates Objective-C files from .proto services.'
s.description = <<-DESC
This podspec only downloads the gRPC protoc plugin so that local pods generating protos can use
@ -96,7 +96,7 @@ Pod::Spec.new do |s|
s.preserve_paths = plugin
# Restrict the protoc version to the one supported by this plugin.
s.dependency '!ProtoCompiler', '3.0.0-beta-3.1'
s.dependency '!ProtoCompiler', '3.0.0-beta-4'
# For the Protobuf dependency not to complain:
s.ios.deployment_target = '7.1'
s.osx.deployment_target = '10.9'

@ -36,7 +36,7 @@ Pod::Spec.new do |s|
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them.
s.name = '!ProtoCompiler'
v = '3.0.0-beta-3.1'
v = '3.0.0-beta-4'
s.version = v
s.summary = 'The Protobuf Compiler (protoc) generates Objective-C files from .proto files'
s.description = <<-DESC
@ -120,7 +120,7 @@ Pod::Spec.new do |s|
repo_root = '../..'
plugin = 'grpc_objective_c_plugin'
s.prepare_command = <<-CMD
if [ ! -f protoc ]; then
if [ ! -f bin/protoc ]; then
cd #{repo_root}
# This will build protoc from the Protobuf submodule of gRPC, and put it in
# #{repo_root}/bins/opt/protobuf.
@ -129,7 +129,9 @@ Pod::Spec.new do |s|
# _we do not want_. Find a way for this to always build from source.
make #{plugin}
cd -
else
mv bin/protoc .
mv include/google .
fi
CMD
end

@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.9'
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1"
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.1"
repo_root = '../../../..'
bin_dir = "#{repo_root}/bins/$CONFIG"

@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.9'
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1"
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.1"
repo_root = '../../../..'
bin_dir = "#{repo_root}/bins/$CONFIG"

Loading…
Cancel
Save