Skip to content

Commit 19761bc

Browse files
author
summeryxia
committed
TUIKit upgrade 7.9.5666
1 parent 0036a08 commit 19761bc

12 files changed

+49
-48
lines changed

iOS/Podspec/TUIChatBotPlugin.podspec

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,22 @@ Pod::Spec.new do |spec|
4545
service.source_files = '**/TUIChatBotPlugin/UI_Classic/Service/*.{h,m,mm}'
4646
service.dependency "TUIChatBotPlugin/UI_Classic/UI"
4747
end
48-
commonUI.resource = [
49-
'**/TUIChatBotPlugin/Resources/*.bundle',
50-
'**/TUIChatBotPlugin/Resources/PrivacyInfo.xcprivacy'
51-
]
48+
commonUI.resource = ['**/TUIChatBotPlugin/Resources/*.bundle']
5249
end
5350

51+
spec.resource_bundle = {
52+
"#{spec.module_name}_Privacy" => '**/TUIChatBotPlugin/Resources/PrivacyInfo.xcprivacy'
53+
}
54+
5455
spec.subspec 'ALL' do |all|
5556
all.dependency "TUIChatBotPlugin/UI_Classic"
5657
end
5758

5859
spec.pod_target_xcconfig = {
5960
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
60-
'GENERATE_INFOPLIST_FILE' => 'YES'
6161
}
6262
spec.user_target_xcconfig = {
6363
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
64-
'GENERATE_INFOPLIST_FILE' => 'YES'
6564
}
6665
end
6766

iOS/Podspec/TUIConversationGroupPlugin.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ Pod::Spec.new do |spec|
2424
spec.user_target_xcconfig = {
2525
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
2626
}
27-
spec.resource = [
28-
'**/TUIConversationGroupPlugin.framework/PrivacyInfo.xcprivacy'
29-
]
27+
spec.resource_bundle = {
28+
"#{spec.module_name}_Privacy" => '**/TUIConversationGroupPlugin.framework/PrivacyInfo.xcprivacy'
29+
}
30+
3031
end
3132

3233
# pod trunk push TUIConversationGroupPlugin.podspec --use-libraries --allow-warnings

iOS/Podspec/TUIConversationMarkPlugin.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ Pod::Spec.new do |spec|
2424
spec.user_target_xcconfig = {
2525
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
2626
}
27-
spec.resource = [
28-
'**/TUIConversationMarkPlugin.framework/PrivacyInfo.xcprivacy'
29-
]
27+
spec.resource_bundle = {
28+
"#{spec.module_name}_Privacy" => '**/TUIConversationMarkPlugin.framework/PrivacyInfo.xcprivacy'
29+
}
3030
end
3131

3232
# pod trunk push TUIConversationMarkPlugin.podspec --use-libraries --allow-warnings

iOS/Podspec/TUICustomerServicePlugin.podspec

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,22 @@ Pod::Spec.new do |spec|
4545
service.source_files = '**/TUICustomerServicePlugin/UI_Classic/Service/*.{h,m,mm}'
4646
service.dependency "TUICustomerServicePlugin/UI_Classic/UI"
4747
end
48-
commonUI.resource = [
49-
'**/TUICustomerServicePlugin/Resources/*.bundle',
50-
'**/TUICustomerServicePlugin/Resources/PrivacyInfo.xcprivacy'
51-
]
48+
commonUI.resource = ['**/TUICustomerServicePlugin/Resources/*.bundle']
5249
end
5350

51+
spec.resource_bundle = {
52+
"#{spec.module_name}_Privacy" => '**/TUICustomerServicePlugin/Resources/PrivacyInfo.xcprivacy'
53+
}
54+
5455
spec.subspec 'ALL' do |all|
5556
all.dependency "TUICustomerServicePlugin/UI_Classic"
5657
end
5758

5859
spec.pod_target_xcconfig = {
5960
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
60-
'GENERATE_INFOPLIST_FILE' => 'YES'
6161
}
6262
spec.user_target_xcconfig = {
6363
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
64-
'GENERATE_INFOPLIST_FILE' => 'YES'
6564
}
6665
end
6766

iOS/Podspec/TUIGroupNotePlugin.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ Pod::Spec.new do |spec|
2424
spec.user_target_xcconfig = {
2525
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
2626
}
27-
spec.resource = [
28-
'**/TUIGroupNotePlugin.framework/PrivacyInfo.xcprivacy'
29-
]
27+
spec.resource_bundle = {
28+
"#{spec.module_name}_Privacy" => '**/TUIGroupNotePlugin.framework/PrivacyInfo.xcprivacy'
29+
}
3030
end
3131

3232
# pod trunk push TUIGroupNotePlugin.podspec --use-libraries --allow-warnings

iOS/Podspec/TUIPollPlugin.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ Pod::Spec.new do |spec|
2424
spec.user_target_xcconfig = {
2525
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
2626
}
27-
spec.resource = [
28-
'**/TUIPollPlugin.framework/PrivacyInfo.xcprivacy'
29-
]
27+
spec.resource_bundle = {
28+
"#{spec.module_name}_Privacy" => '**/TUIPollPlugin.framework/PrivacyInfo.xcprivacy'
29+
}
3030
end
3131

3232
# pod trunk push TUIPollPlugin.podspec --use-libraries --allow-warnings

iOS/Podspec/TUITranslationPlugin.podspec

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,18 @@ Pod::Spec.new do |spec|
3838
service.source_files = '**/TUITranslationPlugin/UI/Service/*.{h,m,mm}'
3939
service.dependency "TUITranslationPlugin/UI/UI"
4040
end
41-
commonUI.resource = [
42-
'**/TUITranslationPlugin/Resources/*.bundle',
43-
'**/TUITranslationPlugin/Resources/PrivacyInfo.xcprivacy'
44-
]
41+
commonUI.resource = ['**/TUITranslationPlugin/Resources/*.bundle']
4542
end
4643

44+
spec.resource_bundle = {
45+
"#{spec.module_name}_Privacy" => '**/TUITranslationPlugin/Resources/PrivacyInfo.xcprivacy'
46+
}
47+
4748
spec.pod_target_xcconfig = {
4849
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
49-
'GENERATE_INFOPLIST_FILE' => 'YES'
5050
}
5151
spec.user_target_xcconfig = {
5252
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
53-
'GENERATE_INFOPLIST_FILE' => 'YES'
5453
}
5554
end
5655

iOS/Podspec/TUIVoiceToTextPlugin.podspec

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,18 @@ Pod::Spec.new do |spec|
3838
service.source_files = '**/TUIVoiceToTextPlugin/UI/Service/*.{h,m,mm}'
3939
service.dependency "TUIVoiceToTextPlugin/UI/UI"
4040
end
41-
commonUI.resource = [
42-
'**/TUIVoiceToTextPlugin/Resources/*.bundle',
43-
'**/TUIVoiceToTextPlugin/Resources/PrivacyInfo.xcprivacy'
44-
]
41+
commonUI.resource = ['**/TUIVoiceToTextPlugin/Resources/*.bundle']
4542
end
4643

44+
spec.resource_bundle = {
45+
"#{spec.module_name}_Privacy" => '**/TUIVoiceToTextPlugin/Resources/PrivacyInfo.xcprivacy'
46+
}
47+
4748
spec.pod_target_xcconfig = {
4849
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
49-
'GENERATE_INFOPLIST_FILE' => 'YES'
5050
}
5151
spec.user_target_xcconfig = {
5252
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
53-
'GENERATE_INFOPLIST_FILE' => 'YES'
5453
}
5554
end
5655

iOS/TUIKit/TUIChatBotPlugin/TUIChatBotPlugin.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ Pod::Spec.new do |spec|
2222

2323
spec.source = { :git => 'https://git.woa.com/lynxzhang/tui-components.git', :tag => spec.version}
2424
spec.source_files = '**/*.{h,m,mm,c}'
25-
spec.resource = [
26-
'Resources/*.bundle','Resources/PrivacyInfo.xcprivacy'
27-
]
25+
spec.resource = ['Resources/*.bundle']
26+
spec.resource_bundle = {
27+
"#{spec.module_name}_Privacy" => '**/TUIChatBotPlugin/Resources/PrivacyInfo.xcprivacy'
28+
}
2829
end

iOS/TUIKit/TUICustomerServicePlugin/TUICustomerServicePlugin.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ Pod::Spec.new do |spec|
2222

2323
spec.source = { :git => 'https://git.woa.com/lynxzhang/tui-components.git', :tag => spec.version}
2424
spec.source_files = '**/*.{h,m,mm,c}'
25-
spec.resource = [
26-
'Resources/*.bundle','Resources/PrivacyInfo.xcprivacy'
27-
]
25+
spec.resource = ['Resources/*.bundle']
26+
spec.resource_bundle = {
27+
"#{spec.module_name}_Privacy" => '**/TUICustomerServicePlugin/Resources/PrivacyInfo.xcprivacy'
28+
}
2829
end

0 commit comments

Comments
 (0)