diff --git a/ios/Podfile b/ios/Podfile index 3264e42..4b9cf4b 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -78,5 +78,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'] = '9.0' + end end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 81d627d..b49d224 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -450,6 +450,6 @@ SPEC CHECKSUMS: webview_flutter: d2b4d6c66968ad042ad94cbb791f5b72b4678a96 WechatOpenSDK: 6a4d1436c15b3b5fe2a0bd383f3046010186da44 -PODFILE CHECKSUM: c6a56d267dffea0219218982f38a1cc8d204035b +PODFILE CHECKSUM: 80e178f7acd39d9ad7aacc7d6a4e9dea0cb945ea COCOAPODS: 1.10.1 diff --git a/pubspec.yaml b/pubspec.yaml index 5910230..167209f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: recook description: Recook Market App. publish_to: "none" -version: 1.8.5-dev+304 +version: 1.8.6-dev+305 environment: sdk: ">=2.10.0 <3.0.0" diff --git a/tool/grind.dart b/tool/grind.dart index ddb43a6..c60fc4a 100644 --- a/tool/grind.dart +++ b/tool/grind.dart @@ -101,7 +101,8 @@ clean() => defaultClean(); @Task() buildApk() async { - await runAsync('flutter', arguments: [ + await runAsync('fvm', arguments: [ + 'flutter', 'build', 'apk', '--target-platform=android-arm64', @@ -119,7 +120,8 @@ buildApk() async { @Task() @Depends(getVersion) buildApkDev() async { - await runAsync('flutter', arguments: [ + await runAsync('fvm', arguments: [ + 'flutter', 'build', 'apk', '--target-platform=android-arm64', @@ -137,14 +139,14 @@ buildApkDev() async { @Task() buildIos() async { - runAsync('flutter', - arguments: ['build', 'ios', '--dart-define', 'ISDEBUG=false']); + runAsync('fvm', + arguments: ['flutter','build', 'ios', '--dart-define', 'ISDEBUG=false']); } @Task() builIosDev()async{ - runAsync('flutter', - arguments: ['build', 'ios', '--dart-define', 'ISDEBUG=true']); + runAsync('fvm', + arguments: ['flutter','build', 'ios', '--dart-define', 'ISDEBUG=true']); } @Task() Future getVersion() async {