此版本包含多项功能更新与问题修复: 1. 新增iOS ShareExtension分享扩展,支持多类型内容分享 2. 修复认证流程日志提示,更新用户名检测逻辑 3. 优化会话列表UI,替换emoji为CupertinoIcons原生图标 4. 修正搜索类型与频道名称映射,新增音频类型支持 5. 调整启动页布局与多语言配置 6. 重构布局约束,修复无界布局崩溃问题 7. 迁移开发者设置到更多设置页,新增日志级别配置 8. 优化TTS健康检查与自动回退逻辑 9. 新增笔记置顶会话跳转功能 10. 更新后端配置与本地化字符串 11. 重构稍后读模块,支持音频内容处理 12. 优化编辑器功能与字体管理页面 13. 新增本地数据库置顶笔记表 14. 修复Android MANAGE_STORAGE权限配置
52 lines
1.5 KiB
Ruby
52 lines
1.5 KiB
Ruby
# Uncomment this line to define a global platform for your project
|
|
platform :ios, '15.5'
|
|
|
|
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
|
|
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
|
|
|
project 'Runner', {
|
|
'Debug' => :debug,
|
|
'Profile' => :release,
|
|
'Release' => :release,
|
|
}
|
|
|
|
def flutter_root
|
|
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
|
|
unless File.exist?(generated_xcode_build_settings_path)
|
|
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
|
|
end
|
|
|
|
File.foreach(generated_xcode_build_settings_path) do |line|
|
|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
|
|
return matches[1].strip if matches
|
|
end
|
|
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
|
|
end
|
|
|
|
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
|
|
|
|
flutter_ios_podfile_setup
|
|
|
|
target 'Runner' do
|
|
use_frameworks!
|
|
|
|
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
|
|
target 'RunnerTests' do
|
|
inherit! :search_paths
|
|
end
|
|
end
|
|
|
|
target 'XianyanWidgetExtension' do
|
|
use_frameworks!
|
|
end
|
|
|
|
target 'ShareExtension' do
|
|
use_frameworks!
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
flutter_additional_ios_build_settings(target)
|
|
end
|
|
end
|