Skip to content

Commit 4a18c67

Browse files
committed
Move Podspecs to v1
1 parent 90e4bd5 commit 4a18c67

File tree

13 files changed

+283
-274
lines changed

13 files changed

+283
-274
lines changed

examples/objective-c/auth_sample/AuthTestService.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
1414
src = "../../protos"
1515

1616
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
17-
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.2"
17+
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0"
1818

1919
# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
2020
pods_root = 'Pods'

examples/objective-c/helloworld/HelloWorld.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
1414
src = "../../protos"
1515

1616
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
17-
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.2"
17+
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0"
1818

1919
# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
2020
pods_root = 'Pods'

examples/objective-c/route_guide/RouteGuide.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
1414
src = "../../protos"
1515

1616
# Run protoc with the Objective-C and gRPC plugins to generate protocol messages and gRPC clients.
17-
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0.0-pre1.2"
17+
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0"
1818

1919
# Pods directory corresponding to this app's Podfile, relative to the location of this podspec.
2020
pods_root = 'Pods'

gRPC-Core.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
Pod::Spec.new do |s|
3737
s.name = 'gRPC-Core'
38-
version = '1.0.0-pre1'
38+
version = '1.0.0'
3939
s.version = version
4040
s.summary = 'Core cross-platform gRPC library, written in C'
4141
s.homepage = 'http://www.grpc.io'
@@ -44,7 +44,7 @@ Pod::Spec.new do |s|
4444

4545
s.source = {
4646
:git => 'https://github.com/grpc/grpc.git',
47-
:tag => "objective-c-v#{version}",
47+
:tag => "v#{version}",
4848
# TODO(jcanizales): Depend explicitly on the nanopb pod, and disable submodules.
4949
:submodules => true,
5050
}
@@ -191,7 +191,7 @@ Pod::Spec.new do |s|
191191
ss.header_mappings_dir = '.'
192192
ss.libraries = 'z'
193193
ss.dependency "#{s.name}/Interface", version
194-
ss.dependency 'BoringSSL', '~> 5.0'
194+
ss.dependency 'BoringSSL', '~> 6.0'
195195

196196
# To save you from scrolling, this is the last part of the podspec.
197197
ss.source_files = 'src/core/lib/profiling/timers.h',

gRPC-ProtoRPC.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
Pod::Spec.new do |s|
3232
s.name = 'gRPC-ProtoRPC'
33-
version = '1.0.0-pre1'
33+
version = '1.0.0'
3434
s.version = version
3535
s.summary = 'RPC library for Protocol Buffers, based on gRPC'
3636
s.homepage = 'http://www.grpc.io'
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
3939

4040
s.source = {
4141
:git => 'https://github.com/grpc/grpc.git',
42-
:tag => "objective-c-v#{version}",
42+
:tag => "v#{version}",
4343
}
4444

4545
s.ios.deployment_target = '7.1'

gRPC-RxLibrary.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
Pod::Spec.new do |s|
3232
s.name = 'gRPC-RxLibrary'
33-
version = '1.0.0-pre1'
33+
version = '1.0.0'
3434
s.version = version
3535
s.summary = 'Reactive Extensions library for iOS/OSX.'
3636
s.homepage = 'http://www.grpc.io'
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
3939

4040
s.source = {
4141
:git => 'https://github.com/grpc/grpc.git',
42-
:tag => "objective-c-v#{version}",
42+
:tag => "v#{version}",
4343
}
4444

4545
s.ios.deployment_target = '7.1'

gRPC.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
Pod::Spec.new do |s|
3232
s.name = 'gRPC'
33-
version = '1.0.0-pre1'
33+
version = '1.0.0'
3434
s.version = version
3535
s.summary = 'gRPC client library for iOS/OSX'
3636
s.homepage = 'http://www.grpc.io'
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
3939

4040
s.source = {
4141
:git => 'https://github.com/grpc/grpc.git',
42-
:tag => "objective-c-v#{version}",
42+
:tag => "v#{version}",
4343
}
4444

4545
s.ios.deployment_target = '7.1'

src/objective-c/!ProtoCompiler-gRPCPlugin.podspec

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Pod::Spec.new do |s|
3636
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
3737
# before them.
3838
s.name = '!ProtoCompiler-gRPCPlugin'
39-
v = '1.0.0-pre1'
40-
s.version = "#{v}.2" # .2 to depend on protoc 3.0.0
39+
v = '1.0.0'
40+
s.version = v
4141
s.summary = 'The gRPC ProtoC plugin generates Objective-C files from .proto services.'
4242
s.description = <<-DESC
4343
This podspec only downloads the gRPC protoc plugin so that local pods generating protos can use
@@ -82,10 +82,9 @@ Pod::Spec.new do |s|
8282
s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' }
8383

8484
repo = 'grpc/grpc'
85-
release = "objective-c-v#{v}"
8685
file = "grpc_objective_c_plugin-#{v}-macos-x86_64.zip"
8786
s.source = {
88-
:http => "https://github.com/#{repo}/releases/download/#{release}/#{file}",
87+
:http => "https://github.com/#{repo}/releases/download/v#{v}/#{file}",
8988
# TODO(jcanizales): Add sha1 or sha256
9089
# :sha1 => '??',
9190
}

0 commit comments

Comments
 (0)