1source 'https://github.com/CocoaPods/Specs.git' 2platform :ios, '11.0' 3 4install! 'cocoapods', :deterministic_uuids => false 5 6# Location of gRPC's repo root relative to this file. 7GRPC_LOCAL_SRC = '../../../..' 8 9target 'Sample' do 10 # Depend on the generated RemoteTestClient library 11 pod 'RemoteTest', :path => "../RemoteTestClient" 12 13 # Use the local versions of Protobuf, BoringSSL, and gRPC. You don't need any of the following 14 # lines in your application. 15 pod '!ProtoCompiler', :path => "#{GRPC_LOCAL_SRC}/src/objective-c" 16 pod '!ProtoCompiler-gRPCPlugin', :path => "#{GRPC_LOCAL_SRC}/src/objective-c" 17 18 pod 'Protobuf', :path => "#{GRPC_LOCAL_SRC}/third_party/protobuf" 19 20 pod 'BoringSSL-GRPC', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c" 21 22 pod 'gRPC', :path => GRPC_LOCAL_SRC 23 pod 'gRPC-Core', :path => GRPC_LOCAL_SRC 24 pod 'gRPC-RxLibrary', :path => GRPC_LOCAL_SRC 25 pod 'gRPC-ProtoRPC', :path => GRPC_LOCAL_SRC 26end 27 28post_install do |installer| 29 installer.pods_project.targets.each do |target| 30 target.build_configurations.each do |config| 31 config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17' 32 end 33 end 34end 35