Protobuf.podspec 983 B

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