|
|
@ -27,7 +27,7 @@ require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelpe |
|
|
|
|
|
|
|
|
flutter_ios_podfile_setup |
|
|
flutter_ios_podfile_setup |
|
|
|
|
|
|
|
|
platform :ios, '13.0' |
|
|
|
|
|
|
|
|
platform :ios, '14.0' |
|
|
|
|
|
|
|
|
# 在 target 'Runner' do 之前添加 |
|
|
# 在 target 'Runner' do 之前添加 |
|
|
install! 'cocoapods', :deterministic_uuids => false |
|
|
install! 'cocoapods', :deterministic_uuids => false |
|
|
@ -37,11 +37,6 @@ target 'Runner' do |
|
|
|
|
|
|
|
|
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) |
|
|
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 强制使用较新的 AgoraInfra_iOS 版本 |
|
|
|
|
|
pod 'AgoraInfra_iOS', '1.2.13.1' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
target 'RunnerTests' do |
|
|
target 'RunnerTests' do |
|
|
inherit! :search_paths |
|
|
inherit! :search_paths |
|
|
@ -53,7 +48,7 @@ post_install do |installer| |
|
|
flutter_additional_ios_build_settings(target) |
|
|
flutter_additional_ios_build_settings(target) |
|
|
|
|
|
|
|
|
target.build_configurations.each do |config| |
|
|
target.build_configurations.each do |config| |
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' |
|
|
|
|
|
|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0' |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
end |