-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix example Podfiles, and document better
- Loading branch information
1 parent
bb16025
commit c09854b
Showing
5 changed files
with
56 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
source 'https://github.com/CocoaPods/Specs.git' | ||
platform :ios, '8.0' | ||
|
||
pod 'Protobuf', :path => "../../../third_party/protobuf" | ||
pod 'BoringSSL', :podspec => "../../../src/objective-c" | ||
pod 'gRPC', :path => "../../.." | ||
install! 'cocoapods', :deterministic_uuids => false | ||
|
||
# Location of gRPC's repo root relative to this file. | ||
GRPC_LOCAL_SRC = '../../..' | ||
|
||
target 'AuthSample' do | ||
# Depend on the generated AuthTestService library. | ||
pod 'AuthTestService', :path => '.' | ||
|
||
# Depend on Google's OAuth2 library | ||
pod 'Google/SignIn' | ||
|
||
# Use the local versions of Protobuf, BoringSSL, and gRPC. You don't need any of the following | ||
# lines in your application. | ||
pod 'Protobuf', :path => "#{GRPC_LOCAL_SRC}/third_party/protobuf" | ||
|
||
pod 'BoringSSL', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c" | ||
|
||
pod 'gRPC', :path => GRPC_LOCAL_SRC | ||
pod 'gRPC-Core', :path => GRPC_LOCAL_SRC | ||
pod 'gRPC-RxLibrary', :path => GRPC_LOCAL_SRC | ||
pod 'gRPC-ProtoRPC', :path => GRPC_LOCAL_SRC | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
source 'https://github.com/CocoaPods/Specs.git' | ||
platform :ios, '8.0' | ||
|
||
pod 'Protobuf', :path => "../../../third_party/protobuf" | ||
pod 'BoringSSL', :podspec => "../../../src/objective-c" | ||
pod 'gRPC', :path => "../../.." | ||
install! 'cocoapods', :deterministic_uuids => false | ||
|
||
# Location of gRPC's repo root relative to this file. | ||
GRPC_LOCAL_SRC = '../../..' | ||
|
||
target 'HelloWorld' do | ||
# Depend on the generated HelloWorld library. | ||
pod 'HelloWorld', :path => '.' | ||
|
||
# Use the local versions of Protobuf, BoringSSL, and gRPC. You don't need any of the following | ||
# lines in your application. | ||
pod 'Protobuf', :path => "#{GRPC_LOCAL_SRC}/third_party/protobuf" | ||
|
||
pod 'BoringSSL', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c" | ||
|
||
pod 'gRPC', :path => GRPC_LOCAL_SRC | ||
pod 'gRPC-Core', :path => GRPC_LOCAL_SRC | ||
pod 'gRPC-RxLibrary', :path => GRPC_LOCAL_SRC | ||
pod 'gRPC-ProtoRPC', :path => GRPC_LOCAL_SRC | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
source 'https://github.com/CocoaPods/Specs.git' | ||
platform :ios, '8.0' | ||
|
||
install! 'cocoapods', :deterministic_uuids => false | ||
|
||
# Location of gRPC's repo root relative to this file. | ||
GRPC_LOCAL_SRC = '../../..' | ||
|
||
target 'RouteGuideClient' do | ||
pod 'Protobuf', :path => "../../../third_party/protobuf" | ||
pod 'BoringSSL', :podspec => "../../../src/objective-c" | ||
pod 'gRPC', :path => "../../.." | ||
# Depend on the generated RouteGuide library. | ||
pod 'RouteGuide', :path => '.' | ||
|
||
# Use the local versions of Protobuf, BoringSSL, and gRPC. You don't need any of the following | ||
# lines in your application. | ||
pod 'Protobuf', :path => "#{GRPC_LOCAL_SRC}/third_party/protobuf" | ||
|
||
pod 'BoringSSL', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c" | ||
|
||
pod 'gRPC', :path => GRPC_LOCAL_SRC | ||
pod 'gRPC-Core', :path => GRPC_LOCAL_SRC | ||
pod 'gRPC-RxLibrary', :path => GRPC_LOCAL_SRC | ||
pod 'gRPC-ProtoRPC', :path => GRPC_LOCAL_SRC | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters