浏览代码

Merge pull request #1226 from jcanizales/patch-1

Include 'source' attribute in the podspec
Paul Yang 9 年之前
父节点
当前提交
e35e24800f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Protobuf.podspec

+ 3 - 0
Protobuf.podspec

@@ -11,6 +11,9 @@ Pod::Spec.new do |s|
   s.license  = 'New BSD'
   s.authors  = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' }
 
+  s.source = { :git => 'https://github.com/google/protobuf.git',
+               :tag => "v#{s.version}" }
+
   s.source_files = 'objectivec/*.{h,m}',
                    'objectivec/google/protobuf/Any.pbobjc.{h,m}',
                    'objectivec/google/protobuf/Api.pbobjc.{h,m}',