From 9a52fbf9943853b9ae334ba426b6ff6102e7f844 Mon Sep 17 00:00:00 2001 From: ianyanzhang Date: Fri, 29 Mar 2024 18:18:42 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81Upload=20Privacy=20Info?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Demo/TXLiteAVDemo.xcodeproj/project.pbxproj | 8 ---- .../SuperPlayerKit/SuperPlayer.podspec | 38 ++++++------------- .../PrivacyInfo.xcprivacy | 32 ++++++++++++++++ 3 files changed, 44 insertions(+), 34 deletions(-) create mode 100644 Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer/Resource/SuperPlayerKitBundle.bundle/PrivacyInfo.xcprivacy diff --git a/Demo/TXLiteAVDemo.xcodeproj/project.pbxproj b/Demo/TXLiteAVDemo.xcodeproj/project.pbxproj index 473691f..83eea77 100644 --- a/Demo/TXLiteAVDemo.xcodeproj/project.pbxproj +++ b/Demo/TXLiteAVDemo.xcodeproj/project.pbxproj @@ -44,7 +44,6 @@ 40A1DF79263841950011E532 /* UIImage+Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = 47E8CAC3260B5C05001CF672 /* UIImage+Additions.m */; }; 40A1DF8F2638419E0011E532 /* UIView+CustomAutoLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 47E8CABD260B5C05001CF672 /* UIView+CustomAutoLayout.m */; }; 40A1DFA5263841AB0011E532 /* UIViewController+BackButtonHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 47E8CAB7260B5C05001CF672 /* UIViewController+BackButtonHandler.m */; }; - 40A7CFF02461102E00E792A5 /* SuperPlayer.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 40A7CFED2461102E00E792A5 /* SuperPlayer.bundle */; }; 45D8449523B643A5001CD3A9 /* UGCUploadList.m in Sources */ = {isa = PBXBuildFile; fileRef = 45D8448C23B64395001CD3A9 /* UGCUploadList.m */; }; 47642A9F261491B90020F1BA /* launchimage_en@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 47642A99261491B90020F1BA /* launchimage_en@3x.png */; }; 47642AA7261491B90020F1BA /* launchimage_en@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 47642A9A261491B90020F1BA /* launchimage_en@2x.png */; }; @@ -122,7 +121,6 @@ EDC1B2C12847C9A60077A920 /* VideoCacheListView.m in Sources */ = {isa = PBXBuildFile; fileRef = EDC1B2AF2847C9A60077A920 /* VideoCacheListView.m */; }; EDC1B2C22847C9A60077A920 /* VideoCacheListModel.m in Sources */ = {isa = PBXBuildFile; fileRef = EDC1B2B32847C9A60077A920 /* VideoCacheListModel.m */; }; EDD28B1A2AA0685C0052D106 /* TXVodPlayer.bundle in Resources */ = {isa = PBXBuildFile; fileRef = EDD28B192AA0685C0052D106 /* TXVodPlayer.bundle */; }; - EDF0D82929A8BC4600EA1238 /* SuperPlayerKitBundle.bundle in Resources */ = {isa = PBXBuildFile; fileRef = ED59415D2938C908006FFA17 /* SuperPlayerKitBundle.bundle */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -191,7 +189,6 @@ 40407ACA1F3035CA006C7301 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 4071CF702444477A000B7707 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; }; 40A49D5E24598CD200BFCB18 /* UGCKit.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = UGCKit.xcodeproj; path = UGCKit/UGCKit.xcodeproj; sourceTree = ""; }; - 40A7CFED2461102E00E792A5 /* SuperPlayer.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = SuperPlayer.bundle; path = SuperPlayer/Resource/SuperPlayer.bundle; sourceTree = ""; }; 40AA533524458EC800303EF7 /* TCBeautyPanel.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = TCBeautyPanel.xcodeproj; sourceTree = ""; }; 40AA539724459DF900303EF7 /* UGCKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = UGCKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 40F853221EE8FC7300EE47D7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; @@ -385,7 +382,6 @@ D6E5D1C020B7B61F00812B2F /* ReplayKit2Define.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReplayKit2Define.h; sourceTree = ""; }; ED125AE428BF7D3000F8C9D9 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/PlayerLocalized.strings"; sourceTree = ""; }; ED125AE528BF7D3100F8C9D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/PlayerLocalized.strings; sourceTree = ""; }; - ED59415D2938C908006FFA17 /* SuperPlayerKitBundle.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = SuperPlayerKitBundle.bundle; path = SuperPlayer/Resource/SuperPlayerKitBundle.bundle; sourceTree = ""; }; EDA70D93288E74FB00A9E10B /* FeedRequestUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FeedRequestUtil.m; sourceTree = ""; }; EDA70D94288E74FB00A9E10B /* FeedRequestUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FeedRequestUtil.h; sourceTree = ""; }; EDC1B2A32847C9A60077A920 /* VideoCacheModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VideoCacheModel.m; sourceTree = ""; }; @@ -510,8 +506,6 @@ 405874162445AA10009B3503 /* SuperPlayerKit */ = { isa = PBXGroup; children = ( - ED59415D2938C908006FFA17 /* SuperPlayerKitBundle.bundle */, - 40A7CFED2461102E00E792A5 /* SuperPlayer.bundle */, 4030B1EC245563B200CF5926 /* SuperPlayer.podspec */, ); path = SuperPlayerKit; @@ -1337,10 +1331,8 @@ 47E8C8CC260AECC4001CF672 /* TRTCDemoLocalized.strings in Resources */, 4009235A1F4FCC6E009B882D /* LaunchScreen.storyboard in Resources */, 47642A9F261491B90020F1BA /* launchimage_en@3x.png in Resources */, - EDF0D82929A8BC4600EA1238 /* SuperPlayerKitBundle.bundle in Resources */, 47E8C8D9260AECC4001CF672 /* LivePlayerLocalized.strings in Resources */, 6BF315D4271E715300D4A72C /* ShortVideo.xcassets in Resources */, - 40A7CFF02461102E00E792A5 /* SuperPlayer.bundle in Resources */, ED125AE628BF7D3100F8C9D9 /* PlayerLocalized.strings in Resources */, 47E8C898260AECC4001CF672 /* AppPortalLocalized.strings in Resources */, C603F92D2603729D009E3AB2 /* InfoPlist.strings in Resources */, diff --git a/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer.podspec b/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer.podspec index 82878a1..e9f8678 100644 --- a/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer.podspec +++ b/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer.podspec @@ -1,38 +1,26 @@ Pod::Spec.new do |spec| spec.name = 'SuperPlayer' - spec.version = '3.1.1' + spec.version = '3.7.7' spec.license = { :type => 'MIT' } spec.homepage = 'https://cloud.tencent.com/product/player' spec.authors = { 'annidyfeng' => 'annidyfeng@tencent.com' } spec.summary = '超级播放器' - spec.source = { :git => 'https://github.com/tencentyun/SuperPlayer_iOS.git', :tag => 'v3.1.1' } - - spec.ios.deployment_target = '8.0' + spec.source = { :git => 'https://github.com/tencentyun/SuperPlayer_iOS.git', :tag => '11.4.0901' } + spec.ios.deployment_target = '9.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.framework = ['SystemConfiguration','CoreTelephony', 'VideoToolbox', 'CoreGraphics', 'AVFoundation', 'Accelerate', 'MobileCoreServices'] 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.resource = 'SuperPlayer/Resource/*' spec.subspec "Player" do |s| s.exclude_files = 'SuperPlayer/SDKHeaders/**' 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', '= 5.3.6001' -#如果要使用最新的TXLiteAVSDK_Player,就不注释这一行 + s.resource = 'SuperPlayer/Resource/*' framework_path="../../../SDK/TXLiteAVSDK_Player.framework" s.pod_target_xcconfig={ 'HEADER_SEARCH_PATHS'=>["$(PODS_TARGET_SRCROOT)/#{framework_path}/Headers"] @@ -41,14 +29,12 @@ Pod::Spec.new do |spec| # 'SuperPlayerKitBundle' => ['SuperPlayer/SuperPlayerLocalized/**/*.strings',] # } end + spec.subspec "Player_Premium" do |s| s.exclude_files = 'SuperPlayer/SDKHeaders/**' 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', '= 5.3.6001' -#如果要使用最新的TXLiteAVSDK_Player,就不注释这一行 + s.resource = 'SuperPlayer/Resource/*' framework_path="../../../SDK/TXLiteAVSDK_Player_Premium.framework" s.pod_target_xcconfig={ 'HEADER_SEARCH_PATHS'=>["$(PODS_TARGET_SRCROOT)/#{framework_path}/Headers"] @@ -57,11 +43,12 @@ Pod::Spec.new do |spec| # 'SuperPlayerKitBundle' => ['SuperPlayer/SuperPlayerLocalized/**/*.strings',] # } end + spec.subspec "Professional" do |s| s.exclude_files = 'SuperPlayer/SDKHeaders/**' s.source_files = 'SuperPlayer/**/*.{h,m}' s.private_header_files = 'SuperPlayer/Utils/TXBitrateItemHelper.h', 'SuperPlayer/Views/SuperPlayerView+Private.h' -# s.resource = 'SuperPlayer/Resource/*' + s.resource = 'SuperPlayer/Resource/*' framework_path="../../../SDK/TXLiteAVSDK_Professional.framework" s.pod_target_xcconfig={ 'HEADER_SEARCH_PATHS'=>["$(PODS_TARGET_SRCROOT)/#{framework_path}/Headers"] @@ -70,11 +57,12 @@ Pod::Spec.new do |spec| # 'SuperPlayerKitBundle' => ['SuperPlayer/SuperPlayerLocalized/**/*.strings',] # } end + spec.subspec "UGC" do |s| s.exclude_files = 'SuperPlayer/SDKHeaders/**' s.source_files = 'SuperPlayer/**/*.{h,m}' s.private_header_files = 'SuperPlayer/Utils/TXBitrateItemHelper.h', 'SuperPlayer/Views/SuperPlayerView+Private.h' -# s.resource = 'SuperPlayer/Resource/*' + s.resource = 'SuperPlayer/Resource/*' # framework_path="Frameworks/TXLiteAVSDK_UGC.framework" framework_path="../../../SDK/TXLiteAVSDK_UGC.framework" s.pod_target_xcconfig={ @@ -110,5 +98,3 @@ Pod::Spec.new do |spec| "sqlite3" ] end - -# pod trunk push SuperPlayer.podspec --verbose --use-libraries --allow-warnings diff --git a/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer/Resource/SuperPlayerKitBundle.bundle/PrivacyInfo.xcprivacy b/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer/Resource/SuperPlayerKitBundle.bundle/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..c6fc1da --- /dev/null +++ b/Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer/Resource/SuperPlayerKitBundle.bundle/PrivacyInfo.xcprivacy @@ -0,0 +1,32 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + +