forked from momotech/ArgoKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathArgoKitComponent.podspec
More file actions
75 lines (61 loc) · 2.39 KB
/
Copy pathArgoKitComponent.podspec
File metadata and controls
75 lines (61 loc) · 2.39 KB
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
69
70
71
72
73
74
75
# Copyright (c) MoMo, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
podspec = Pod::Spec.new do |spec|
spec.name = 'ArgoKitComponent'
spec.version = '1.0.8'
spec.license = { :type => 'MIT', :file => "LICENSE" }
spec.homepage = 'https://git.wemomo.com/module/argokit'
spec.summary = 'ArgoKitComponent'
spec.authors = 'MoMo'
spec.source = {
:git => 'https://git.wemomo.com/module/argokit.git',
:tag => spec.name + '/' + spec.version.to_s,
}
spec.platform = :ios
spec.ios.deployment_target = '11.0'
spec.ios.frameworks = 'UIKit'
spec.module_name = spec.name
spec.dependency 'ArgoKit'
# spec.default_subspec = 'SDImageLoader'
spec.default_subspec = 'Core'
spec.subspec "Core" do |ss|
ss.source_files = 'Source/Component/Core/**/*.{h,m,mm,swift}'
ss.dependency 'ArgoKitComponent/SDImageLoader'
end
spec.subspec "SDImageLoader" do |ss|
ss.source_files = 'Source/Component/SDImageLoader/**/*.{h,m,mm,swift}'
ss.dependency 'SDWebImage'
ss.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SDIMAGELOADER=1' }
ss.xcconfig = { 'OTHER_SWIFT_FLAGS' => '-D SDIMAGELOADER' }
end
spec.subspec "KFImageLoader" do |ss|
ss.source_files = 'Source/Component/KFImageLoader/**/*.{h,m,mm,swift}'
ss.dependency 'Kingfisher'
ss.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'KFIMAGELOADER=1' }
ss.xcconfig = { 'OTHER_SWIFT_FLAGS' => '-D KFIMAGELOADER' }
end
spec.subspec "YYText" do |ss|
ss.source_files = 'Source/Component/YYText/**/*.{h,m,mm,swift}'
ss.dependency 'YYText'
end
spec.subspec "Refresh" do |ss|
ss.source_files = 'Source/Component/Refresh/**/*.{h,m,mm,swift}'
ss.dependency 'MJRefresh'
end
# spec.subspec "AvatarBreathView" do |ss|
# ss.source_files = 'Source/Component/AvatarBreathView/**/*.{h,m,mm,swift}'
# ss.dependency 'MDAvatarBreathAnimationView'
# end
#
# spec.subspec "LikeView" do |ss|
# ss.source_files = 'Source/Component/LikeView/**/*.{h,m,mm,swift}'
# ss.dependency 'MDLikeView'
# end
#
# spec.subspec "RealAuthView" do |ss|
# ss.source_files = 'Source/Component/RealAuthView/**/*.{h,m,mm,swift}'
# ss.dependency 'MDRealAuthIconView'
# end
end