Skip to content

Commit 988c855

Browse files
authored
[ObjC] Upgrade podspec xx.deployment_target (grpc#33091)
Upgrade apple platform deployment_target versions to fix the cocoapods push of BoringSSL-GRPC about the following error: ``` ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` ref: https://developer.apple.com/forums/thread/725300 This also aligns with the versions required by [protobuf](protocolbuffers/protobuf#10652) ``` ios.deployment_target = '10.0' osx.deployment_target = '10.12' tvos.deployment_target = '12.0' watchos.deployment_target = '6.0' ```
1 parent 255d5bd commit 988c855

37 files changed

+151
-155
lines changed

examples/cpp/helloworld/cocoapods/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://github.com/CocoaPods/Specs.git'
2-
platform :ios, '8.0'
2+
platform :ios, '10.0'
33

44
install! 'cocoapods', :deterministic_uuids => false
55

examples/objective-c/auth_sample/AuthTestService.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pod::Spec.new do |s|
77
s.summary = "AuthTestService example"
88
s.source = { :git => 'https://github.com/grpc/grpc.git' }
99

10-
s.ios.deployment_target = "9.0"
11-
s.osx.deployment_target = "10.10"
10+
s.ios.deployment_target = "10.0"
11+
s.osx.deployment_target = "10.12"
1212

1313
# Base directory where the .proto files are.
1414
src = "../../protos"

examples/objective-c/auth_sample/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://github.com/CocoaPods/Specs.git'
2-
platform :ios, '9.0'
2+
platform :ios, '10.0'
33

44
install! 'cocoapods', :deterministic_uuids => false
55

examples/objective-c/helloworld/HelloWorld.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pod::Spec.new do |s|
77
s.summary = "HelloWorld example"
88
s.source = { :git => 'https://github.com/grpc/grpc.git' }
99

10-
s.ios.deployment_target = "9.0"
11-
s.osx.deployment_target = "10.10"
10+
s.ios.deployment_target = "10.0"
11+
s.osx.deployment_target = "10.12"
1212

1313
# Base directory where the .proto files are.
1414
src = "../../protos"

examples/objective-c/helloworld/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://github.com/CocoaPods/Specs.git'
2-
platform :ios, '9.0'
2+
platform :ios, '10.0'
33

44
install! 'cocoapods', :deterministic_uuids => false
55

examples/objective-c/helloworld_macos/HelloWorld.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pod::Spec.new do |s|
77
s.summary = "HelloWorld example"
88
s.source = { :git => 'https://github.com/grpc/grpc.git' }
99

10-
s.ios.deployment_target = "9.0"
11-
s.osx.deployment_target = "10.10"
10+
s.ios.deployment_target = "10.0"
11+
s.osx.deployment_target = "10.12"
1212

1313
# Base directory where the .proto files are.
1414
src = "../../protos"

examples/objective-c/helloworld_macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://github.com/CocoaPods/Specs.git'
2-
platform :macos, '10.10'
2+
platform :macos, '10.12'
33

44
install! 'cocoapods', :deterministic_uuids => false
55

examples/objective-c/route_guide/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://github.com/CocoaPods/Specs.git'
2-
platform :ios, '9.0'
2+
platform :ios, '10.0'
33

44
install! 'cocoapods', :deterministic_uuids => false
55

examples/objective-c/route_guide/RouteGuide.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pod::Spec.new do |s|
77
s.summary = "RouteGuide example"
88
s.source = { :git => 'https://github.com/grpc/grpc.git' }
99

10-
s.ios.deployment_target = "9.0"
11-
s.osx.deployment_target = "10.10"
10+
s.ios.deployment_target = "10.0"
11+
s.osx.deployment_target = "10.12"
1212

1313
# Base directory where the .proto files are.
1414
src = "../../protos"

gRPC-C++.podspec

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)