
- 在Package.swift中注释掉旧的swift-composable-architecture依赖,并添加swift-case-paths依赖。 - 在Podfile中将iOS平台版本更新至16.0,并移除QCloudCOSXML/Transfer依赖,改为使用QCloudCOSXML。 - 更新Podfile.lock以反映依赖变更,确保项目依赖的准确性。 - 新增架构分析需求文档,明确项目架构评估和改进建议。 - 在多个文件中实现async/await语法,提升异步操作的可读性和性能。 - 更新日志输出方法,确保在调试模式下提供一致的调试信息。 - 优化多个视图组件,提升用户体验和代码可维护性。
44 lines
1.3 KiB
Ruby
44 lines
1.3 KiB
Ruby
# Uncomment the next line to define a global platform for your project
|
|
platform :ios, '16.0'
|
|
|
|
target 'yana' do
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
use_frameworks!
|
|
|
|
# Pods for yana
|
|
|
|
# # IM 即时通讯
|
|
# pod 'NIMSDK_LITE'
|
|
# # 基础库
|
|
# pod 'NEChatKit', '10.6.1'
|
|
# pod 'NEChatUIKit', '10.6.1' # 会话(聊天)组件
|
|
# pod 'NEContactUIKit', '10.6.1' # 通讯录组件
|
|
# pod 'NELocalConversationUIKit', '10.6.1' # 本地会话列表组件。
|
|
|
|
# Networks
|
|
pod 'Alamofire'
|
|
|
|
# 腾讯云 COS 精简版 SDK
|
|
pod 'QCloudCOSXML'
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
|
|
end
|
|
end
|
|
|
|
# 新增冲突处理脚本
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_phases.each do |phase|
|
|
if phase.respond_to?(:name) && phase.name == 'Embed Frameworks'
|
|
phase.input_paths.delete_if { |path|
|
|
path.end_with?('nimsdk.xcframework', 'nimsocketrocket.xcframework', 'nimquic.xcframework', 'nimnos.xcframework')
|
|
}
|
|
end
|
|
end
|
|
end
|
|
end
|