|
8 | 8 |
|
9 | 9 | Pod::Spec.new do |s|
|
10 | 10 | s.name = 'XYIAPKit'
|
11 |
| - s.version = '0.2.0' |
| 11 | + s.version = '0.0.3' |
12 | 12 | s.summary = 'A short description of XYIAPKit.'
|
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 | 13 | s.description = <<-DESC
|
21 |
| -TODO: Add long description of the pod here. |
| 14 | + |
| 15 | + 好用的内购组件 |
| 16 | +
|
22 | 17 | DESC
|
23 | 18 |
|
24 |
| - s.homepage = 'https://github.com/mqc123450/XYIAPKit' |
25 |
| - # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' |
| 19 | + s.homepage = '[email protected]:ioscomponentgroup/XYIAPKit.git' |
26 | 20 | s.license = { :type => 'MIT', :file => 'LICENSE' }
|
27 |
| - s.author = { 'mqc123450' => '[email protected]' } |
28 |
| - s.source = { :git => 'https://github.com/mqc123450/XYIAPKit.git', :tag => s.version.to_s } |
29 |
| - # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>' |
| 21 | + s.author = { 'qichao.ma' => '“[email protected]”' } |
| 22 | + s.source = { :git => 'http://192.168.1.33:9090/ioscomponentgroup/XYIAPKit.git', :tag => s.version.to_s } |
30 | 23 |
|
31 | 24 | s.ios.deployment_target = '8.0'
|
| 25 | + s.platform = :ios, '8.0' |
| 26 | + s.source_files = 'XYIAPKit/*.h' |
| 27 | + s.public_header_files = 'XYIAPKit/*.h' |
| 28 | + s.frameworks = 'StoreKit' |
32 | 29 |
|
33 |
| - s.source_files = 'XYIAPKit/Classes/**/*' |
34 |
| - |
35 |
| - # s.resource_bundles = { |
36 |
| - # 'XYIAPKit' => ['XYIAPKit/Assets/*.png'] |
37 |
| - # } |
38 |
| - |
39 |
| - # s.public_header_files = 'Pod/Classes/**/*.h' |
40 | 30 | s.frameworks = 'StoreKit'
|
41 |
| - # s.dependency 'AFNetworking', '~> 2.3' |
| 31 | + s.requires_arc = true |
| 32 | + s.default_subspec = 'Core' |
| 33 | + |
| 34 | + |
| 35 | + s.subspec 'Core' do |core| |
| 36 | + core.source_files = 'XYIAPKit/Core/*' |
| 37 | + end |
| 38 | + |
| 39 | + s.subspec 'Persistence' do |pe| |
| 40 | + pe.dependency 'XYIAPKit/Core' |
| 41 | + pe.source_files = 'XYIAPKit/Persistence/*' |
| 42 | + pe.frameworks = 'Security' |
| 43 | + end |
| 44 | + |
| 45 | + s.subspec 'Receipt' do |re| |
| 46 | + re.dependency 'XYIAPKit/Core' |
| 47 | + re.platform = :ios, '8.0' |
| 48 | + re.source_files = 'XYIAPKit/Receipt/*' |
| 49 | + re.dependency 'OpenSSL', '~> 1.0' |
| 50 | + s.resource_bundles = { |
| 51 | + 'XYIAPKit' => ['XYIAPKit/Assets/*'] |
| 52 | + } |
| 53 | + end |
| 54 | + |
42 | 55 | end
|
0 commit comments