Jorge Canizales | 687a5fe | 2015-05-13 19:54:55 -0700 | [diff] [blame^] | 1 | Pod::Spec.new do |s| |
| 2 | s.name = 'Protobuf' |
| 3 | s.version = '3.0.0' |
| 4 | s.summary = 'Protocol Buffers v.3 runtime library for Objective-C.' |
| 5 | s.homepage = 'https://github.com/google/protobuf' |
| 6 | s.license = 'New BSD' |
| 7 | s.authors = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' } |
| 8 | |
| 9 | s.source_files = 'objectivec/*.{h,m}', 'objectivec/google/protobuf/*.pbobjc.h', 'objectivec/google/protobuf/Descriptor.pbobjc.m' |
| 10 | s.public_header_files = 'objectivec/*.h', 'objectivec/google/protobuf/*.pbobjc.h' |
| 11 | # The following is a .m umbrella file, and would cause duplicate symbol |
| 12 | # definitions: |
| 13 | s.exclude_files = 'objectivec/GPBProtocolBuffers.m' |
| 14 | # The .m's of the proto Well-Known-Types under google/protobuf are #imported |
| 15 | # by GPBWellKnownTypes.m. So we can't compile them (duplicate symbols), but we |
| 16 | # need them available for the importing: |
| 17 | s.preserve_paths = 'objectivec/google/protobuf/*.pbobjc.m' |
| 18 | s.header_mappings_dir = 'objectivec' |
| 19 | |
| 20 | s.ios.deployment_target = '6.0' |
| 21 | s.osx.deployment_target = '10.8' |
| 22 | s.requires_arc = false |
| 23 | end |