-
Notifications
You must be signed in to change notification settings - Fork 149
/
Copy pathTUICallKit_Swift.podspec
56 lines (47 loc) · 1.98 KB
/
TUICallKit_Swift.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
Pod::Spec.new do |spec|
spec.name = 'TUICallKit_Swift'
spec.version = '1.0.0'
spec.platform = :ios
spec.ios.deployment_target = '13.0'
spec.license = { :type => 'Proprietary',
:text => <<-LICENSE
copyright 2017 tencent Ltd. All rights reserved.
LICENSE
}
spec.homepage = 'https://cloud.tencent.com/document/product/647'
spec.documentation_url = 'https://cloud.tencent.com/document/product/647'
spec.authors = 'tencent video cloud'
spec.summary = 'TUICallKit'
spec.xcconfig = { 'VALID_ARCHS' => 'armv7 arm64 x86_64' }
spec.dependency 'TUICore'
spec.dependency 'SnapKit'
spec.dependency 'RTCCommon'
spec.requires_arc = true
spec.static_framework = true
spec.source = { :path => './' }
spec.swift_version = '5.0'
spec.ios.framework = ['AVFoundation', 'Accelerate', 'AssetsLibrary']
spec.library = 'c++', 'resolv', 'sqlite3'
spec.default_subspec = 'Professional'
spec.subspec 'TRTC' do |trtc|
trtc.dependency 'TXLiteAVSDK_TRTC'
trtc.dependency 'RTCRoomEngine/TRTC'
trtc.source_files = 'TUICallKit_Swift/**/*.{h,m,mm,swift}'
trtc.resource_bundles = {
'TUICallKitBundle' => ['TUICallKit_Swift/Resources/**/*.strings', 'TUICallKit_Swift/Resources/AudioFile', 'TUICallKit_Swift/Resources/*.xcassets']
}
trtc.resource = ['TUICallKit_Swift/Resources/*.bundle']
end
spec.subspec 'Professional' do |professional|
professional.dependency 'TXLiteAVSDK_Professional'
professional.dependency 'RTCRoomEngine/Professional'
professional.source_files = 'TUICallKit_Swift/**/*.{h,m,mm,swift}'
professional.resource_bundles = {
'TUICallKitBundle' => ['TUICallKit_Swift/Resources/**/*.strings', 'TUICallKit_Swift/Resources/AudioFile', 'TUICallKit_Swift/Resources/*.xcassets']
}
professional.resource = ['TUICallKit_Swift/Resources/*.bundle']
end
spec.resource_bundles = {
'TUICallKit_Swift_Privacy' => ['TUICallKit_Swift/Sources/PrivacyInfo.xcprivacy']
}
end