Protobuf.podspec 1.3 KB

123456789101112131415161718192021222324252627
  1. # This file describes to Cocoapods how to integrate the Objective-C runtime into a dependent
  2. # project.
  3. # Despite this file being specific to Objective-C, it needs to be on the root of the repository.
  4. # Otherwise, Cocoapods gives trouble like not picking up the license file correctly, or not letting
  5. # dependent projects use the :git notation to refer to the library.
  6. Pod::Spec.new do |s|
  7. s.name = 'Protobuf'
  8. s.version = '3.0.0'
  9. s.summary = 'Protocol Buffers v.3 runtime library for Objective-C.'
  10. s.homepage = 'https://github.com/google/protobuf'
  11. s.license = 'New BSD'
  12. s.authors = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' }
  13. s.source_files = 'objectivec/*.{h,m}', 'objectivec/google/protobuf/*.pbobjc.h', 'objectivec/google/protobuf/Descriptor.pbobjc.m'
  14. # The following is a .m umbrella file, and would cause duplicate symbol
  15. # definitions:
  16. s.exclude_files = 'objectivec/GPBProtocolBuffers.m'
  17. # The .m's of the proto Well-Known-Types under google/protobuf are #imported
  18. # by GPBWellKnownTypes.m. So we can't compile them (duplicate symbols), but we
  19. # need them available for the importing:
  20. s.preserve_paths = 'objectivec/google/protobuf/*.pbobjc.m'
  21. s.header_mappings_dir = 'objectivec'
  22. s.ios.deployment_target = '6.0'
  23. s.osx.deployment_target = '10.8'
  24. s.requires_arc = false
  25. end