From ed44dd6210aa90d0617ad6bdc9156d673e2c87bf Mon Sep 17 00:00:00 2001 From: Khoren Markosyan Date: Fri, 10 Jun 2022 22:50:32 +0400 Subject: [PATCH] set minimum ios version to 11 for ZXScanner --- zxscanner/ios/Podfile | 2 +- zxscanner/ios/Runner.xcodeproj/project.pbxproj | 9 ++++++--- zxscanner/pubspec.lock | 2 +- zxscanner/pubspec.yaml | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/zxscanner/ios/Podfile b/zxscanner/ios/Podfile index 1e8c3c9..5afa6fe 100644 --- a/zxscanner/ios/Podfile +++ b/zxscanner/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '9.0' + platform :ios, '11.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/zxscanner/ios/Runner.xcodeproj/project.pbxproj b/zxscanner/ios/Runner.xcodeproj/project.pbxproj index 99e5711..033bef7 100644 --- a/zxscanner/ios/Runner.xcodeproj/project.pbxproj +++ b/zxscanner/ios/Runner.xcodeproj/project.pbxproj @@ -341,7 +341,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -360,6 +360,7 @@ DEVELOPMENT_TEAM = RE853S4FBU; ENABLE_BITCODE = NO; INFOPLIST_FILE = "Runner/Info-Release.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -419,7 +420,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -468,7 +469,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -489,6 +490,7 @@ DEVELOPMENT_TEAM = RE853S4FBU; ENABLE_BITCODE = NO; INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -512,6 +514,7 @@ DEVELOPMENT_TEAM = RE853S4FBU; ENABLE_BITCODE = NO; INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/zxscanner/pubspec.lock b/zxscanner/pubspec.lock index e9a7aa7..506a5f9 100644 --- a/zxscanner/pubspec.lock +++ b/zxscanner/pubspec.lock @@ -356,7 +356,7 @@ packages: name: hive url: "https://pub.dartlang.org" source: hosted - version: "2.2.1" + version: "2.2.2" hive_flutter: dependency: "direct main" description: diff --git a/zxscanner/pubspec.yaml b/zxscanner/pubspec.yaml index 176cda5..7359cc3 100644 --- a/zxscanner/pubspec.yaml +++ b/zxscanner/pubspec.yaml @@ -20,7 +20,7 @@ dependencies: flutter_zxing: path: ../ font_awesome_flutter: ^10.1.0 - hive: ^2.2.1 + hive: ^2.2.2 hive_flutter: ^1.1.0 image: ^3.2.0 image_picker: ^0.8.5