| 1 |
install! 'cocoapods', :deterministic_uuids => false |
| 2 |
|
| 3 |
use_frameworks! if ENV['FRAMEWORKS'] != 'NO' |
| 4 |
|
| 5 |
ROOT_DIR = '../../../..' |
| 6 |
|
| 7 |
def grpc_deps |
| 8 |
pod 'gRPC-ProtoRPC', :path => ROOT_DIR |
| 9 |
pod 'gRPC', :path => ROOT_DIR |
| 10 |
pod 'gRPC-Core', :path => ROOT_DIR |
| 11 |
pod 'gRPC-RxLibrary', :path => ROOT_DIR |
| 12 |
pod 'RemoteTest', :path => "../RemoteTestClient" |
| 13 |
pod '!ProtoCompiler-gRPCPlugin', :path => "#{ROOT_DIR}/src/objective-c" |
| 14 |
pod 'BoringSSL-GRPC', :podspec => "#{ROOT_DIR}/src/objective-c" |
| 15 |
pod '!ProtoCompiler', :path => "#{ROOT_DIR}/src/objective-c" |
| 16 |
end |
| 17 |
|
| 18 |
target 'watchOS-sample' do |
| 19 |
platform :ios, '9.0' |
| 20 |
grpc_deps |
| 21 |
end |
| 22 |
|
| 23 |
target 'watchOS-sample WatchKit Extension' do |
| 24 |
platform :watchos, '4.0' |
| 25 |
grpc_deps |
| 26 |
end |