diff options
author | Michael Lumish <mlumish@google.com> | 2015-06-01 08:39:46 -0700 |
---|---|---|
committer | Michael Lumish <mlumish@google.com> | 2015-06-01 08:39:46 -0700 |
commit | 6de364e3202b53c0de07a4407b5a4df92d91c4a0 (patch) | |
tree | fbbfad5f2171b517ecdb14d27ad681969e170ada | |
parent | 1f52e0780a7e3119d983d440c8883de23b7c9738 (diff) | |
parent | 297a2f70c04e0ac271383c6f1f9f5cfa5b315ac0 (diff) |
Merge pull request #1835 from grpc/jcanizales-fix-podspec-example-in-readme
Fix podspec example in README to work with dir hierarchies
-rw-r--r-- | src/objective-c/README.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/objective-c/README.md b/src/objective-c/README.md index 167016cc2c..921eb69231 100644 --- a/src/objective-c/README.md +++ b/src/objective-c/README.md @@ -50,13 +50,15 @@ Pod::Spec.new do |s| s.osx.deployment_target = '10.8' s.subspec 'Messages' do |ms| - ms.source_files = '*.pbobjc.{h,m}' + ms.source_files = '*.pbobjc.{h,m}', '**/*.pbobjc.{h,m}' + ms.header_mappings_dir = '.' ms.requires_arc = false ms.dependency 'Protobuf', '~> 3.0' end s.subspec 'Services' do |ss| - ss.source_files = '*.pbrpc.{h,m}' + ss.source_files = '*.pbrpc.{h,m}', '**/*.pbrpc.{h,m}' + ss.header_mappings_dir = '.' ss.requires_arc = true ss.dependency 'gRPC', '~> 0.0' ss.dependency '<Podspec file name>/Messages' |