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