Protobuf.podspec 1.0 KB

1234567891011121314151617181920212223
  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. s.source_files = 'objectivec/*.{h,m}', 'objectivec/google/protobuf/*.pbobjc.h', 'objectivec/google/protobuf/Descriptor.pbobjc.m'
  9. s.public_header_files = 'objectivec/*.h', 'objectivec/google/protobuf/*.pbobjc.h'
  10. # The following is a .m umbrella file, and would cause duplicate symbol
  11. # definitions:
  12. s.exclude_files = 'objectivec/GPBProtocolBuffers.m'
  13. # The .m's of the proto Well-Known-Types under google/protobuf are #imported
  14. # by GPBWellKnownTypes.m. So we can't compile them (duplicate symbols), but we
  15. # need them available for the importing:
  16. s.preserve_paths = 'objectivec/google/protobuf/*.pbobjc.m'
  17. s.header_mappings_dir = 'objectivec'
  18. s.ios.deployment_target = '6.0'
  19. s.osx.deployment_target = '10.8'
  20. s.requires_arc = false
  21. end