From 8896ec5725ff5fc555f227fb8f90fc9bf10f4e7e Mon Sep 17 00:00:00 2001 From: LUS Date: Fri, 12 May 2023 17:51:18 +0900 Subject: [PATCH] [LUS] 0512 changes for XCode 14.3 --- ios/Podfile | 5 +++- ios/Runner.xcodeproj/project.pbxproj | 3 +++ ios/Runner/Info.plist | 36 +++++++++++++--------------- 3 files changed, 24 insertions(+), 20 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index 9061ff8..e014773 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -platform :ios, '12.1' +platform :ios, '14.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' @@ -37,5 +37,8 @@ end post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) + target.build_configurations.each do |config| + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' + end end end diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 256747d..0900b65 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -378,6 +378,7 @@ DEVELOPMENT_TEAM = X42UGYJ6XD; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -507,6 +508,7 @@ DEVELOPMENT_TEAM = X42UGYJ6XD; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -532,6 +534,7 @@ DEVELOPMENT_TEAM = X42UGYJ6XD; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 1e11621..44303af 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -2,6 +2,8 @@ + CADisableMinimumFrameDurationOnPhone + CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleExecutable @@ -22,39 +24,35 @@ $(FLUTTER_BUILD_NUMBER) LSRequiresIPhoneOS + LSSupportsOpeningDocumentsInPlace + + NSAppTransportSecurity + + NSAllowsLocalNetworking + + + NSPhotoLibraryUsageDescription + true + UIApplicationSupportsIndirectInputEvents + + UIFileSharingEnabled + UILaunchStoryboardName LaunchScreen UIMainStoryboardFile Main - NSPhotoLibraryUsageDescription - true UISupportedInterfaceOrientations UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown UIViewControllerBasedStatusBarAppearance - NSAppTransportSecurity - - NSAllowsLocalNetworking - - - LSSupportsOpeningDocumentsInPlace - - UIFileSharingEnabled - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents -