Skip to content

Commit

Permalink
1、Upload Privacy Info
Browse files Browse the repository at this point in the history
  • Loading branch information
ianyanzhang committed Mar 29, 2024
1 parent e7ae385 commit 9a52fbf
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 34 deletions.
8 changes: 0 additions & 8 deletions Demo/TXLiteAVDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 47642A99261491B90020F1BA /* [email protected] */; };
47642AA7261491B90020F1BA /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 47642A9A261491B90020F1BA /* [email protected] */; };
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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 = "<group>"; };
40A7CFED2461102E00E792A5 /* SuperPlayer.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = SuperPlayer.bundle; path = SuperPlayer/Resource/SuperPlayer.bundle; sourceTree = "<group>"; };
40AA533524458EC800303EF7 /* TCBeautyPanel.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = TCBeautyPanel.xcodeproj; sourceTree = "<group>"; };
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 = "<group>"; };
Expand Down Expand Up @@ -385,7 +382,6 @@
D6E5D1C020B7B61F00812B2F /* ReplayKit2Define.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReplayKit2Define.h; sourceTree = "<group>"; };
ED125AE428BF7D3000F8C9D9 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/PlayerLocalized.strings"; sourceTree = "<group>"; };
ED125AE528BF7D3100F8C9D9 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/PlayerLocalized.strings; sourceTree = "<group>"; };
ED59415D2938C908006FFA17 /* SuperPlayerKitBundle.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = SuperPlayerKitBundle.bundle; path = SuperPlayer/Resource/SuperPlayerKitBundle.bundle; sourceTree = "<group>"; };
EDA70D93288E74FB00A9E10B /* FeedRequestUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FeedRequestUtil.m; sourceTree = "<group>"; };
EDA70D94288E74FB00A9E10B /* FeedRequestUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FeedRequestUtil.h; sourceTree = "<group>"; };
EDC1B2A32847C9A60077A920 /* VideoCacheModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VideoCacheModel.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -510,8 +506,6 @@
405874162445AA10009B3503 /* SuperPlayerKit */ = {
isa = PBXGroup;
children = (
ED59415D2938C908006FFA17 /* SuperPlayerKitBundle.bundle */,
40A7CFED2461102E00E792A5 /* SuperPlayer.bundle */,
4030B1EC245563B200CF5926 /* SuperPlayer.podspec */,
);
path = SuperPlayerKit;
Expand Down Expand Up @@ -1337,10 +1331,8 @@
47E8C8CC260AECC4001CF672 /* TRTCDemoLocalized.strings in Resources */,
4009235A1F4FCC6E009B882D /* LaunchScreen.storyboard in Resources */,
47642A9F261491B90020F1BA /* [email protected] 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 */,
Expand Down
38 changes: 12 additions & 26 deletions Demo/TXLiteAVDemo/SuperPlayerKit/SuperPlayer.podspec
Original file line number Diff line number Diff line change
@@ -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' => '[email protected]' }
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"]
Expand All @@ -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"]
Expand All @@ -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"]
Expand All @@ -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={
Expand Down Expand Up @@ -110,5 +98,3 @@ Pod::Spec.new do |spec|
"sqlite3"
]
end

# pod trunk push SuperPlayer.podspec --verbose --use-libraries --allow-warnings
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string></string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>

0 comments on commit 9a52fbf

Please sign in to comment.