Commit 6a539e37d7e441320991d49e801bd269fd9ff8a4

Authored by 梁星国
1 parent 877aa2cf

提交

Showing 1 changed file with 1 additions and 106 deletions
CNLiveUploadManager.podspec
@@ -8,90 +8,27 @@ @@ -8,90 +8,27 @@
8 8
9 Pod::Spec.new do |s| 9 Pod::Spec.new do |s|
10 10
11 - # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  
12 - #  
13 - # These will help people to find your library, and whilst it  
14 - # can feel like a chore to fill in it's definitely to your advantage. The  
15 - # summary should be tweet-length, and the description more in depth.  
16 - #  
17 -  
18 s.name = "CNLiveUploadManager" # 项目名称 11 s.name = "CNLiveUploadManager" # 项目名称
19 s.version = "0.0.10" # 版本号 与 你仓库的标签号 对应 12 s.version = "0.0.10" # 版本号 与 你仓库的标签号 对应
20 s.summary = "图片,视频上传" # 项目简介 13 s.summary = "图片,视频上传" # 项目简介
21 14
22 - # This description is used to generate tags and improve search results.  
23 - # * Think: What does it do? Why did you write it? What is the focus?  
24 - # * Try to keep it short, snappy and to the point.  
25 - # * Write the description between the DESC delimiters below.  
26 - # * Finally, don't worry about the indent, CocoaPods strips it!  
27 s.description = <<-DESC 15 s.description = <<-DESC
28 TODO:加入压缩测试 16 TODO:加入压缩测试
29 DESC 17 DESC
30 18
31 s.homepage = "http://bj.gitlab.cnlive.com/ios-team/CNLiveUploadManager" # 仓库的主页 19 s.homepage = "http://bj.gitlab.cnlive.com/ios-team/CNLiveUploadManager" # 仓库的主页
32 20
33 - # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"  
34 -  
35 -  
36 - # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  
37 - #  
38 - # Licensing your code is important. See http://choosealicense.com for more info.  
39 - # CocoaPods will detect a license file if there is a named LICENSE*  
40 - # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.  
41 - #  
42 -  
43 - # s.license = "MIT (example)"  
44 - s.license = { :type => "MIT", :file => "FILE_LICENSE" }  
45 -  
46 -  
47 - # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  
48 - #  
49 - # Specify the authors of the library, with email addresses. Email addresses  
50 - # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also  
51 - # accepts just a name if you'd rather not provide an email address.  
52 - #  
53 - # Specify a social_media_url where others can refer to, for example a twitter  
54 - # profile URL.  
55 - # 21 + s.license = { :type => "MIT", :file => "FILE_LICENSE" }
56 22
57 s.author = { "梁星国" => "liangxingguo_job@163.com" } 23 s.author = { "梁星国" => "liangxingguo_job@163.com" }
58 - # Or just: s.author = "梁星国"  
59 - # s.authors = { "梁星国" => "jyyjkt@qq.com" }  
60 - # s.social_media_url = "http://twitter.com/梁星国"  
61 24
62 - # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  
63 - #  
64 - # If this Pod runs only on iOS or OS X, then specify the platform and  
65 - # the deployment target. You can optionally include the target after the platform.  
66 - #  
67 25
68 - # s.platform = :ios  
69 s.platform = :ios, "9.0" 26 s.platform = :ios, "9.0"
70 27
71 - # When using multiple platforms  
72 - # s.ios.deployment_target = "5.0"  
73 - # s.osx.deployment_target = "10.7"  
74 - # s.watchos.deployment_target = "2.0"  
75 - # s.tvos.deployment_target = "9.0"  
76 -  
77 -  
78 - # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  
79 - #  
80 - # Specify the location from where the source should be retrieved.  
81 - # Supports git, hg, bzr, svn and HTTP.  
82 - #  
83 28
84 s.source = { :git => "http://bj.gitlab.cnlive.com/ios-team/CNLiveUploadManager.git", :tag => "#{s.version}" } 29 s.source = { :git => "http://bj.gitlab.cnlive.com/ios-team/CNLiveUploadManager.git", :tag => "#{s.version}" }
85 30
86 31
87 - # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  
88 - #  
89 - # CocoaPods is smart about how it includes source code. For source files  
90 - # giving a folder will include any swift, h, m, mm, c & cpp files.  
91 - # For header files it will include any header in the folder.  
92 - # Not including the public_header_files will make all headers public.  
93 - #  
94 -  
95 s.subspec "util" do |ssss| 32 s.subspec "util" do |ssss|
96 ssss.source_files = "CNLiveUploadManager/util/*.{h,m}" 33 ssss.source_files = "CNLiveUploadManager/util/*.{h,m}"
97 ssss.frameworks = "UIKit", "Foundation" 34 ssss.frameworks = "UIKit", "Foundation"
@@ -127,48 +64,6 @@ TODO:加入压缩测试 @@ -127,48 +64,6 @@ TODO:加入压缩测试
127 64
128 end 65 end
129 66
130 - #s.exclude_files = "Classes/Exclude"  
131 -  
132 - # s.public_header_files = "Classes/**/*.h"  
133 -  
134 -  
135 - # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  
136 - #  
137 - # A list of resources included with the Pod. These are copied into the  
138 - # target bundle with a build phase script. Anything else will be cleaned.  
139 - # You can preserve files from being cleaned, please don't preserve  
140 - # non-essential files like tests, examples and documentation.  
141 - #  
142 -  
143 - # s.resource = "icon.png"  
144 - # s.resources = "Resources/*.png"  
145 -  
146 - # s.preserve_paths = "FilesToSave", "MoreFilesToSave"  
147 -  
148 -  
149 - # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  
150 - #  
151 - # Link your library with frameworks, or libraries. Libraries do not include  
152 - # the lib prefix of their name.  
153 - #  
154 -  
155 - # s.framework = "SomeFramework"  
156 - # s.frameworks = "UIKit", "Foundation"  
157 -  
158 - # s.library = "iconv"  
159 - # s.libraries = "iconv", "xml2"  
160 -  
161 -  
162 - # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #  
163 - #  
164 - # If your library depends on compiler flags you can set them in the xcconfig hash  
165 - # where they will only apply to your library. If you depend on other Podspecs  
166 - # you can include multiple dependencies to ensure it works.  
167 -  
168 - # s.requires_arc = true  
169 -  
170 - # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }  
171 -  
172 67
173 68
174 69