blob: 0cd52025d23e25850cfd34b9017c85440e03c0c1 [file] [log] [blame]
Jorge Canizales249483e2015-06-01 19:55:27 -07001# 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.
Jorge Canizales687a5fe2015-05-13 19:54:55 -07006Pod::Spec.new do |s|
7 s.name = 'Protobuf'
Bo Yang9dd2bc42015-06-09 16:16:46 -07008 s.version = '3.0.0-alpha-4-pre'
Jorge Canizales687a5fe2015-05-13 19:54:55 -07009 s.summary = 'Protocol Buffers v.3 runtime library for Objective-C.'
10 s.homepage = 'https://github.com/google/protobuf'
11 s.license = 'New BSD'
Jorge Canizales592c44f2015-05-14 14:16:40 -070012 s.authors = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' }
Jorge Canizales687a5fe2015-05-13 19:54:55 -070013
Jorge Canizalesd5d7bb32015-06-28 15:23:02 -070014 s.source_files = 'objectivec/GPBProtocolBuffers.{h,m}'
15 # GPBProtocolBuffers.{h,m} are umbrella files. We need Cocoapods to preserve the files imported by
16 # them.
17 s.preserve_paths = 'objectivec/*.{h,m}',
18 'objectivec/google/protobuf/*.pbobjc.{h,m}'
Jorge Canizales687a5fe2015-05-13 19:54:55 -070019 s.header_mappings_dir = 'objectivec'
20
Bo Yangd58e95b2015-07-22 14:54:52 -070021 s.ios.deployment_target = '7.1'
22 s.osx.deployment_target = '10.9'
Jorge Canizales687a5fe2015-05-13 19:54:55 -070023 s.requires_arc = false
24end