| 1 |
source 'https://github.com/CocoaPods/Specs.git' |
| 2 |
platform :ios, '9.0' |
| 3 |
|
| 4 |
install! 'cocoapods', :deterministic_uuids => false |
| 5 |
|
| 6 |
# Default to use framework, so that providing no 'FRAMEWORK' env parameter works consistently |
| 7 |
# for all Samples, specifically because Swift only supports framework. |
| 8 |
# Only effective for examples/ |
| 9 |
use_frameworks! if ENV['FRAMEWORKS'] != 'NO' |
| 10 |
|
| 11 |
# Location of gRPC's repo root relative to this file. |
| 12 |
GRPC_LOCAL_SRC = '../../../..' |
| 13 |
|
| 14 |
target 'Sample' do |
| 15 |
# Depend on the generated RemoteTestClient library |
| 16 |
pod 'RemoteTest', :path => "../RemoteTestClient" |
| 17 |
|
| 18 |
# Use the local versions of Protobuf, BoringSSL, and gRPC. You don't need any of the following |
| 19 |
# lines in your application. |
| 20 |
pod '!ProtoCompiler', :path => "#{GRPC_LOCAL_SRC}/src/objective-c" |
| 21 |
pod '!ProtoCompiler-gRPCPlugin', :path => "#{GRPC_LOCAL_SRC}/src/objective-c" |
| 22 |
|
| 23 |
pod 'Protobuf', :path => "#{GRPC_LOCAL_SRC}/third_party/protobuf" |
| 24 |
|
| 25 |
pod 'BoringSSL-GRPC', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c" |
| 26 |
|
| 27 |
pod 'gRPC', :path => GRPC_LOCAL_SRC |
| 28 |
pod 'gRPC-Core', :path => GRPC_LOCAL_SRC |
| 29 |
pod 'gRPC-RxLibrary', :path => GRPC_LOCAL_SRC |
| 30 |
pod 'gRPC-ProtoRPC', :path => GRPC_LOCAL_SRC |
| 31 |
end |