瀏覽代碼

Include 'source' attribute in the podspec

The new version of Cocoapods requires it even when using the podspec locally.
Jorge Canizales 9 年之前
父節點
當前提交
f492dd8aa4
共有 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}',