Commit 11b465b74eb3f0eef7173b4ff917d8fd2fc16293

Authored by yinqiaojuan
1 parent a3514790

no message

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   -#
8 1  
9 2 Pod::Spec.new do |s|
10 3 s.name = 'CNPublishContent'
11 4 s.version = '0.1.3'
12 5 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   -
24 6 s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLivePublishContents'
25 7 # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
26   - s.license = { :type => 'MIT', :file => 'LICENSE' }
  8 + s.license = "MIT" # 开源证书
27 9 s.author = { '殷巧娟' => '1427945373@qq.com' }
28 10 s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLivePublishContents.git', :tag => s.version.to_s }
29 11 # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
30 12  
31   - s.ios.deployment_target = '9.0'
  13 + s.platform = :ios, "9.0" #平台及支持的最低版本
32 14  
33   - s.source_files = 'CNPublishContent/Classes/*.{h,m}'
  15 + s.source_files = 'CNPublishContent/**/*.{h,m}'
34 16  
35 17 # s.resource_bundles = {
36 18 # 'CNPublishContent' => ['CNPublishContent/Assets/*.png']
37 19 # }
38 20  
39   - s.public_header_files = 'CNPublishContent/Classes/*.h'
40   - # s.frameworks = 'UIKit', 'MapKit'
41   - s.dependency 'AFNetworking'
  21 + s.public_header_files = 'CNPublishContent/**/*.h'
  22 + s.frameworks = 'UIKit', 'Foundation'
  23 + s.dependency 'AFNetworking'
42 24  
43 25 end
... ...