forked from LiteAVSDK/Player_iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSuperPlayer.podspec
86 lines (77 loc) · 3.38 KB
/
SuperPlayer.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Pod::Spec.new do |spec|
spec.name = 'SuperPlayer'
spec.version = '3.1.6'
spec.license = { :type => 'MIT' }
spec.homepage = 'https://cloud.tencent.com/product/player'
spec.authors = { 'annidyfeng' => '[email protected]' }
spec.summary = '超级播放器'
spec.source = { :git => 'https://github.com/tencentyun/SuperPlayer_iOS.git', :tag => 'v3.1.6' }
spec.ios.deployment_target = '8.0'
spec.requires_arc = true
spec.dependency 'AFNetworking'
spec.dependency 'SDWebImage'
spec.dependency 'Masonry'
spec.dependency 'MMLayout'
spec.static_framework = true
spec.default_subspec = 'Player'
spec.ios.framework = ['SystemConfiguration','CoreTelephony', 'VideoToolbox', 'CoreGraphics', 'AVFoundation', 'Accelerate']
spec.ios.library = 'z', 'resolv', 'iconv', 'stdc++', 'c++', 'sqlite3'
# spec.subspec "Core" do |s|
# s.source_files = 'SuperPlayer/**/*.{h,m}'
# s.resource = 'SuperPlayer/Resource/*'
# end
spec.subspec "Player" do |s|
s.source_files = 'SuperPlayer/**/*.{h,m}'
s.private_header_files = 'SuperPlayer/Utils/TXBitrateItemHelper.h', 'SuperPlayer/Views/SuperPlayerView+Private.h'
s.resource = 'SuperPlayer/Resource/*'
#如果要使用cocopods管理的TXLiteAVSDK_Player,就不注释这一行
s.dependency 'TXLiteAVSDK_Player', '= 6.9.8341'
#如果要使用最新的TXLiteAVSDK_Player,就不注释这一行
#s.vendored_framework = "Frameworks/TXLiteAVSDK_Player.framework"
end
# spec.subspec "Professional" do |s|
# s.dependency 'SuperPlayer/Core'
# s.dependency 'TXLiteAVSDK_Professional', '~> 5.2.5539'
# # s.vendored_framework = "Frameworks/TXLiteAVSDK_Professional.framework"
# end
# spec.subspec "Enterprise" do |s|
# s.dependency 'SuperPlayer/Core'
# s.dependency 'TXLiteAVSDK_Enterprise', '~> 5.2.5539'
# # s.vendored_framework = "Frameworks/TXLiteAVSDK_Enterprise.framework"
# end
# spec.subspec "Smart" do |s|
# s.dependency 'SuperPlayer/Core'
# s.dependency 'TXLiteAVSDK_Smart', '~> 5.2.5539'
# # s.vendored_framework = "Frameworks/TXLiteAVSDK_Smart.framework"
# end
# spec.subspec "UGC" do |s|
# s.dependency 'SuperPlayer/Core'
# s.dependency 'TXLiteAVSDK_UGC', '~> 5.2.5539'
# # s.vendored_framework = "Frameworks/TXLiteAVSDK_UGC.framework"
# end
# spec.subspec "UGC_PITU" do |s|
# s.dependency 'SuperPlayer/Core'
# s.dependency 'TXLiteAVSDK_UGC_PITU', '~> 5.2.5539'
# # s.vendored_framework = "Frameworks/TXLiteAVSDK_UGC_PITU.framework"
# end
# spec.subspec "UGC_IJK" do |s|
# s.dependency 'SuperPlayer/Core'
# s.dependency 'TXLiteAVSDK_UGC_IJK', '~> 5.2.5539'
# # s.vendored_framework = "Frameworks/TXLiteAVSDK_UGC_IJK.framework"
# end
# spec.subspec "UGC_IJK_PITU" do |s|
# s.dependency 'SuperPlayer/Core'
# s.dependency 'TXLiteAVSDK_UGC_IJK_PITU', '~> 5.2.5539'
# # s.vendored_framework = "Frameworks/TXLiteAVSDK_UGC_IJK_PITU.framework"
# end
spec.frameworks = ["SystemConfiguration", "CoreTelephony", "VideoToolbox", "CoreGraphics", "AVFoundation", "Accelerate"]
spec.libraries = [
"z",
"resolv",
"iconv",
"stdc++",
"c++",
"sqlite3"
]
end
# pod trunk push SuperPlayer.podspec --verbose --use-libraries --allow-warnings