Skip to content

Commit 2d16b2a

Browse files
author
chunk
committed
改版
1 parent 46f1c6a commit 2d16b2a

37 files changed

+2544
-1263
lines changed

XYIAPKit.podspec

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,48 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'XYIAPKit'
11-
s.version = '0.2.0'
11+
s.version = '0.0.3'
1212
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-
2013
s.description = <<-DESC
21-
TODO: Add long description of the pod here.
14+
15+
好用的内购组件
16+
2217
DESC
2318

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'
2620
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 }
3023

3124
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'
3229

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'
4030
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+
4255
end
1.19 KB
Binary file not shown.

XYIAPKit/Classes/.gitkeep

Whitespace-only changes.

XYIAPKit/Classes/Common/NSUserDefaults+XYSafeAccess.h

Lines changed: 0 additions & 16 deletions
This file was deleted.

XYIAPKit/Classes/Common/NSUserDefaults+XYSafeAccess.m

Lines changed: 0 additions & 25 deletions
This file was deleted.

XYIAPKit/Classes/Model/XYIAPProductInfo.h

Lines changed: 0 additions & 20 deletions
This file was deleted.

XYIAPKit/Classes/Model/XYIAPProductInfo.m

Lines changed: 0 additions & 38 deletions
This file was deleted.

XYIAPKit/Classes/XYIAPKit.h

Lines changed: 0 additions & 14 deletions
This file was deleted.

XYIAPKit/Classes/XYIAPManager.h

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)