diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-05-29 17:27:19 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-05-29 17:27:19 -0700 |
commit | 297a2f70c04e0ac271383c6f1f9f5cfa5b315ac0 (patch) | |
tree | 0841ecfe8e6a768175bb654f5449ba79b302def6 /src | |
parent | 5242c1e22a18f09f25737fd67732805cf55be751 (diff) |
Fix podspec example in README to work with dir hierarchies
Because the sample protos were all in a flat directory, I hadn't noticed the issue.
Diffstat (limited to 'src')
-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' |