11Pod ::Spec . new do |spec |
22 spec . name = 'SuperPlayer'
3- spec . version = '3.1.1 '
3+ spec . version = '3.7.7 '
44 spec . license = { :type => 'MIT' }
55 spec . homepage = 'https://cloud.tencent.com/product/player'
66 spec . authors = { 'annidyfeng' => 'annidyfeng@tencent.com' }
77 spec . summary = '超级播放器'
8- spec . source = { :git => 'https://github.com/tencentyun/SuperPlayer_iOS.git' , :tag => 'v3.1.1' }
9-
10- spec . ios . deployment_target = '8.0'
8+ spec . source = { :git => 'https://github.com/tencentyun/SuperPlayer_iOS.git' , :tag => '11.4.0901' }
9+ spec . ios . deployment_target = '9.0'
1110 spec . requires_arc = true
12-
11+ spec . dependency 'AFNetworking'
1312 spec . dependency 'SDWebImage'
1413 spec . dependency 'Masonry'
15- #spec.dependency 'MMLayout'
16-
1714 spec . static_framework = true
1815 spec . default_subspec = 'Player'
19-
20- spec . ios . framework = [ 'SystemConfiguration' , 'CoreTelephony' , 'VideoToolbox' , 'CoreGraphics' , 'AVFoundation' , 'Accelerate' ]
16+ spec . ios . framework = [ 'SystemConfiguration' , 'CoreTelephony' , 'VideoToolbox' , 'CoreGraphics' , 'AVFoundation' , 'Accelerate' , 'MobileCoreServices' ]
2117 spec . ios . library = 'z' , 'resolv' , 'iconv' , 'stdc++' , 'c++' , 'sqlite3'
2218
23- # spec.subspec "Core" do |s|
24- # s.source_files = 'SuperPlayer/**/*.{h,m}'
25- # s.resource = 'SuperPlayer/Resource/*'
26- # end
27- # spec.resource = 'SuperPlayer/Resource/*'
2819 spec . subspec "Player" do |s |
2920 s . exclude_files = 'SuperPlayer/SDKHeaders/**'
3021 s . source_files = 'SuperPlayer/**/*.{h,m}'
3122 s . private_header_files = 'SuperPlayer/Utils/TXBitrateItemHelper.h' , 'SuperPlayer/Views/SuperPlayerView+Private.h'
32- # s.resource = 'SuperPlayer/Resource/*'
33- #如果要使用cocopods管理的TXLiteAVSDK_Player,就不注释这一行
34- # s.dependency 'TXLiteAVSDK_Player', '= 5.3.6001'
35- #如果要使用最新的TXLiteAVSDK_Player,就不注释这一行
23+ s . resource = 'SuperPlayer/Resource/*'
3624 framework_path = "../../../SDK/TXLiteAVSDK_Player.framework"
3725 s . pod_target_xcconfig = {
3826 'HEADER_SEARCH_PATHS' => [ "$(PODS_TARGET_SRCROOT)/#{ framework_path } /Headers" ]
@@ -41,14 +29,12 @@ Pod::Spec.new do |spec|
4129# 'SuperPlayerKitBundle' => ['SuperPlayer/SuperPlayerLocalized/**/*.strings',]
4230# }
4331 end
32+
4433 spec . subspec "Player_Premium" do |s |
4534 s . exclude_files = 'SuperPlayer/SDKHeaders/**'
4635 s . source_files = 'SuperPlayer/**/*.{h,m}'
4736 s . private_header_files = 'SuperPlayer/Utils/TXBitrateItemHelper.h' , 'SuperPlayer/Views/SuperPlayerView+Private.h'
48- # s.resource = 'SuperPlayer/Resource/*'
49- #如果要使用cocopods管理的TXLiteAVSDK_Player,就不注释这一行
50- # s.dependency 'TXLiteAVSDK_Player', '= 5.3.6001'
51- #如果要使用最新的TXLiteAVSDK_Player,就不注释这一行
37+ s . resource = 'SuperPlayer/Resource/*'
5238 framework_path = "../../../SDK/TXLiteAVSDK_Player_Premium.framework"
5339 s . pod_target_xcconfig = {
5440 'HEADER_SEARCH_PATHS' => [ "$(PODS_TARGET_SRCROOT)/#{ framework_path } /Headers" ]
@@ -57,11 +43,12 @@ Pod::Spec.new do |spec|
5743# 'SuperPlayerKitBundle' => ['SuperPlayer/SuperPlayerLocalized/**/*.strings',]
5844# }
5945 end
46+
6047 spec . subspec "Professional" do |s |
6148 s . exclude_files = 'SuperPlayer/SDKHeaders/**'
6249 s . source_files = 'SuperPlayer/**/*.{h,m}'
6350 s . private_header_files = 'SuperPlayer/Utils/TXBitrateItemHelper.h' , 'SuperPlayer/Views/SuperPlayerView+Private.h'
64- # s.resource = 'SuperPlayer/Resource/*'
51+ s . resource = 'SuperPlayer/Resource/*'
6552 framework_path = "../../../SDK/TXLiteAVSDK_Professional.framework"
6653 s . pod_target_xcconfig = {
6754 'HEADER_SEARCH_PATHS' => [ "$(PODS_TARGET_SRCROOT)/#{ framework_path } /Headers" ]
@@ -70,11 +57,12 @@ Pod::Spec.new do |spec|
7057# 'SuperPlayerKitBundle' => ['SuperPlayer/SuperPlayerLocalized/**/*.strings',]
7158# }
7259 end
60+
7361 spec . subspec "UGC" do |s |
7462 s . exclude_files = 'SuperPlayer/SDKHeaders/**'
7563 s . source_files = 'SuperPlayer/**/*.{h,m}'
7664 s . private_header_files = 'SuperPlayer/Utils/TXBitrateItemHelper.h' , 'SuperPlayer/Views/SuperPlayerView+Private.h'
77- # s.resource = 'SuperPlayer/Resource/*'
65+ s . resource = 'SuperPlayer/Resource/*'
7866 # framework_path="Frameworks/TXLiteAVSDK_UGC.framework"
7967 framework_path = "../../../SDK/TXLiteAVSDK_UGC.framework"
8068 s . pod_target_xcconfig = {
@@ -110,5 +98,3 @@ Pod::Spec.new do |spec|
11098 "sqlite3"
11199 ]
112100end
113-
114- # pod trunk push SuperPlayer.podspec --verbose --use-libraries --allow-warnings
0 commit comments