-
Notifications
You must be signed in to change notification settings - Fork 0
/
PPiOSKit.podspec
68 lines (58 loc) · 2.31 KB
/
PPiOSKit.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Pod::Spec.new do |s|
s.name = 'PPiOSKit'
s.version = '0.0.1'
s.summary = 'Personal Tool of Panda'
s.description = <<-DESC
Enjoy it!
DESC
s.homepage = 'https://github.com/Panway/CodeSnipetCollection'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Panway' => 'upbeatpan@gmail.com' }
s.source = { :git => 'https://github.com/Panway/CodeSnipetCollection.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.swift_version = '4.2'
s.ios.deployment_target = '8.0'
#s.source_files = 'PPiOSKit/Classes/**/*'
# s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'PPiOSKit/Classes/**/*'
#core.exclude_files = 'SDWebImage/UIImage+WebP.{h,m}', 'SDWebImage/SDWebImageWebPCoder.{h,m}'
end
s.subspec 'PPAlertAction' do |ppalertaction|
ppalertaction.ios.deployment_target = '8.0'
ppalertaction.source_files = 'iOS/PPAlertAction/**/*'
end
s.subspec 'CrashCatcher' do |ppalertaction|
ppalertaction.ios.deployment_target = '8.0'
ppalertaction.source_files = 'iOS/CrashCatcher/**/*'
ppalertaction.dependency 'PPiOSKit/RuntimeTool'
end
s.subspec 'SwipePopGesture' do |ppalertaction|
ppalertaction.ios.deployment_target = '8.0'
ppalertaction.source_files = 'iOS/SwipePopGesture/**/*'
end
s.subspec 'RuntimeTool' do |runtimetool|
runtimetool.ios.deployment_target = '8.0'
runtimetool.source_files = 'iOS/RuntimeTool/**/*'
end
s.subspec 'iOSCategorys' do |iOSCategorys|
iOSCategorys.ios.deployment_target = '8.0'
iOSCategorys.source_files = 'iOS/Category/**/*'
end
s.subspec 'CommomViews' do |gif|
gif.ios.deployment_target = '8.0'
gif.source_files = 'iOS/CommomViews/*'
end
s.subspec 'PPImageViewer' do |ppimageviewer|
ppimageviewer.ios.deployment_target = '8.0'
ppimageviewer.source_files = 'iOS/PPImageViewer/**/*'
end
# s.resource_bundles = {
# 'PWiOSTool' => ['PWiOSTool/Assets/*.png']
# }
s.requires_arc = true
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end