-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathAUIKitCore.podspec
More file actions
116 lines (97 loc) · 4.2 KB
/
Copy pathAUIKitCore.podspec
File metadata and controls
116 lines (97 loc) · 4.2 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#
# Be sure to run `pod lib lint AUIKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'AUIKitCore'
s.version = '1.2.0'
s.summary = 'A short description of AUIKit.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'https://github.com/AgoraIO-Community/AUIKit'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Agora Labs' => 'developer@agora.io' }
s.source = { :git => 'https://github.com/AgoraIO-Community/AUIKit.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '13.0'
s.xcconfig = {'ENABLE_BITCODE' => 'NO'}
s.default_subspec = 'All'
s.subspec 'All' do |ss|
ss.source_files = [
'iOS/AUIKitCore/Sources/**/*',
]
ss.resource = ['iOS/AUIKitCore/Resource/*.bundle']
ss.frameworks = 'UIKit', 'Foundation'
ss.dependency 'YYModel'
ss.dependency 'SwiftyBeaver', '~>1.9.5'
ss.dependency 'SwiftTheme'
ss.dependency 'SDWebImage', '>= 5.0.0'
ss.dependency 'MJRefresh'
ss.dependency 'ScoreEffectUI'
ss.dependency 'AgoraLyricsScore', '~> 1.1.6'
ss.dependency 'AgoraRtm', '~> 2.2.1'
ss.dependency 'AgoraRtcEngine_Special_iOS','> 4.1.1.19', '< 4.1.1.100'
ss.dependency 'Zip'
ss.dependency 'Alamofire'
ss.dependency 'Agora_Chat_iOS'
end
s.subspec 'Service' do |ss|
ss.source_files = [
'iOS/AUIKitCore/Sources/Service/**/*',
'iOS/AUIKitCore/Sources/Core/Utils/RtmHelper/*',
'iOS/AUIKitCore/Sources/Core/Utils/Log/*.swift',
'iOS/AUIKitCore/Sources/Core/Utils/Localized/*.swift',
'iOS/AUIKitCore/Sources/Core/Utils/Error/*.swift',
'iOS/AUIKitCore/Sources/Core/Utils/Context/*.swift',
'iOS/AUIKitCore/Sources/Core/Utils/Network/**/*',
'iOS/AUIKitCore/Sources/Core/FoundationExtension/*',
]
ss.dependency 'AgoraRtm', '~> 2.2.1'
ss.dependency 'AgoraRtcEngine_Special_iOS','> 4.1.1.19', '< 4.1.1.100'
ss.dependency 'Zip'
ss.dependency 'Alamofire'
ss.dependency 'Agora_Chat_iOS'
ss.dependency 'YYModel'
ss.dependency 'SwiftyBeaver', '~>1.9.5'
end
s.subspec 'UI' do |ss|
ss.source_files = [
'iOS/AUIKitCore/Sources/Widgets/**/*',
'iOS/AUIKitCore/Sources/Core/Utils/Extension/*.swift',
'iOS/AUIKitCore/Sources/Core/Utils/Theme/*.swift',
'iOS/AUIKitCore/Sources/Core/Utils/Log/*.swift',
'iOS/AUIKitCore/Sources/Core/Utils/Localized/*.swift',
'iOS/AUIKitCore/Sources/Core/UIConstans/*.swift',
'iOS/AUIKitCore/Sources/Core/FoundationExtension/*.swift',
'iOS/AUIKitCore/Sources/Components/**/*',
'iOS/AUIKitCore/Sources/Service/Extension/Model/*',
'iOS/AUIKitCore/Sources/Service/Model/AUIKitModel.swift',
'iOS/AUIKitCore/Sources/Service/Model/AUIKitModel+Coder.swift',
'iOS/AUIKitCore/Sources/Service/Model/AUIGiftEntity.swift',
'iOS/AUIKitCore/Sources/Service/Extension/Protocol/AUIUserCellUserDataProtocol.swift',
]
ss.resource = ['iOS/AUIKitCore/Resource/*.bundle']
ss.frameworks = 'UIKit', 'Foundation'
ss.dependency 'YYModel'
ss.dependency 'SwiftyBeaver', '~>1.9.5'
ss.dependency 'SwiftTheme'
ss.dependency 'SDWebImage', '>= 5.0.0'
ss.dependency 'MJRefresh'
ss.dependency 'ScoreEffectUI'
ss.dependency 'AgoraLyricsScore', '~> 1.1.6'
end
s.static_framework = true
s.swift_version = '5.0'
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
end