Commit 27c191e3574d5fbe810d20a6c83fdcde0a217ee8
1 parent
4d5faedb
Revert "no message"
This reverts commit 11b465b7.
Showing
1 changed file
with
24 additions
and
6 deletions
CNPublishContent/CNPublishContent.podspec
| 1 | +# | ||
| 2 | +# Be sure to run `pod lib lint CNPublishContent.podspec' to ensure this is a | ||
| 3 | +# valid spec before submitting. | ||
| 4 | +# | ||
| 5 | +# Any lines starting with a # are optional, but their use is encouraged | ||
| 6 | +# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html | ||
| 7 | +# | ||
| 1 | 8 | ||
| 2 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 3 | s.name = 'CNPublishContent' | 10 | s.name = 'CNPublishContent' |
| 4 | s.version = '0.1.3' | 11 | s.version = '0.1.3' |
| 5 | s.summary = '测试发布页面pod打包' | 12 | s.summary = '测试发布页面pod打包' |
| 13 | + | ||
| 14 | +# This description is used to generate tags and improve search results. | ||
| 15 | +# * Think: What does it do? Why did you write it? What is the focus? | ||
| 16 | +# * Try to keep it short, snappy and to the point. | ||
| 17 | +# * Write the description between the DESC delimiters below. | ||
| 18 | +# * Finally, don't worry about the indent, CocoaPods strips it! | ||
| 19 | + | ||
| 20 | + s.description = <<-DESC | ||
| 21 | +TODO: Add long description of the pod here. | ||
| 22 | + DESC | ||
| 23 | + | ||
| 6 | s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLivePublishContents' | 24 | s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLivePublishContents' |
| 7 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' | 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' |
| 8 | - s.license = "MIT" # 开源证书 | 26 | + s.license = { :type => 'MIT', :file => 'LICENSE' } |
| 9 | s.author = { '殷巧娟' => '1427945373@qq.com' } | 27 | s.author = { '殷巧娟' => '1427945373@qq.com' } |
| 10 | s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLivePublishContents.git', :tag => s.version.to_s } | 28 | s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLivePublishContents.git', :tag => s.version.to_s } |
| 11 | # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>' | 29 | # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>' |
| 12 | 30 | ||
| 13 | - s.platform = :ios, "9.0" #平台及支持的最低版本 | 31 | + s.ios.deployment_target = '9.0' |
| 14 | 32 | ||
| 15 | - s.source_files = 'CNPublishContent/**/*.{h,m}' | 33 | + s.source_files = 'CNPublishContent/Classes/*.{h,m}' |
| 16 | 34 | ||
| 17 | # s.resource_bundles = { | 35 | # s.resource_bundles = { |
| 18 | # 'CNPublishContent' => ['CNPublishContent/Assets/*.png'] | 36 | # 'CNPublishContent' => ['CNPublishContent/Assets/*.png'] |
| 19 | # } | 37 | # } |
| 20 | 38 | ||
| 21 | - s.public_header_files = 'CNPublishContent/**/*.h' | ||
| 22 | - s.frameworks = 'UIKit', 'Foundation' | ||
| 23 | - s.dependency 'AFNetworking' | 39 | + s.public_header_files = 'CNPublishContent/Classes/*.h' |
| 40 | + # s.frameworks = 'UIKit', 'MapKit' | ||
| 41 | + s.dependency 'AFNetworking' | ||
| 24 | 42 | ||
| 25 | end | 43 | end |