修改pods

This commit is contained in:
2025-09-20 17:13:38 +08:00
parent 7787b3ee30
commit 28ff2b0264
5251 changed files with 345029 additions and 285168 deletions

25
podfile
View File

@@ -5,7 +5,7 @@ use_frameworks!
target 'ShenQi' do
pod 'SVProgressHUD', '~> 2.2.5'
pod 'SVProgressHUD'
pod 'MJRefresh', '~> 3.7.5'
pod 'SDWebImage', '~> 5.12.5'
@@ -13,7 +13,22 @@ pod 'FirebaseAuth'
pod 'FirebaseFirestore'
pod 'FirebaseMessaging'
#post_install do |installer|
# installer.pods_project.targets.each do |target|
# if target.name == 'BoringSSL-GRPC'
# target.source_build_phase.files.each do |file|
# if file.settings && file.settings['COMPILER_FLAGS']
# flags = file.settings['COMPILER_FLAGS'].split
# flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }
# file.settings['COMPILER_FLAGS'] = flags.join(' ')
# end
# end
# end
# end
#end
post_install do |installer|
# 处理 BoringSSL-GRPC 的警告抑制问题
installer.pods_project.targets.each do |target|
if target.name == 'BoringSSL-GRPC'
target.source_build_phase.files.each do |file|
@@ -24,6 +39,14 @@ post_install do |installer|
end
end
end
# 统一提高所有 Pod 库的最低部署目标(解决 libarclite 问题)
target.build_configurations.each do |config|
# 将最低版本设置为 11.0 或更高(根据需要调整)
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 13.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
end
end