1source 'https://github.com/CocoaPods/Specs.git' 2platform :ios, '11.0' 3 4# Without this we get linker errors due to files with same names but different paths 5# ref: https://github.com/CocoaPods/CocoaPods/issues/8289#issuecomment-1022723820 6install! 'cocoapods', :deterministic_uuids => false 7 8use_frameworks! 9 10# Location of gRPC's repo root relative to this file. 11GRPC_LOCAL_SRC = '../../../..' 12 13target 'SwiftUseFrameworks' do 14 pod 'gRPC', :path => GRPC_LOCAL_SRC 15 pod 'gRPC-Core', :path => GRPC_LOCAL_SRC 16 pod 'gRPC-C++', :path => GRPC_LOCAL_SRC 17 pod 'gRPC-RxLibrary', :path => GRPC_LOCAL_SRC 18 pod 'BoringSSL-GRPC', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c" 19end 20 21post_install do |installer| 22 installer.pods_project.targets.each do |target| 23 target.build_configurations.each do |config| 24 config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17' 25 end 26 end 27end 28