From d1abbe1aee6572d2458af8673aad2288eaf25df9 Mon Sep 17 00:00:00 2001 From: Sebastian Roth Date: Thu, 11 Apr 2024 16:45:49 +0100 Subject: [PATCH] attempt ios build fix --- example/ios/Podfile | 6 ++++++ example/ios/Podfile.lock | 2 +- melos.yaml | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/example/ios/Podfile b/example/ios/Podfile index d58567a0..7dde0e20 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -42,4 +42,10 @@ post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) end + + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET' + end + end end diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index efaa0712..62fc1af4 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -43,6 +43,6 @@ SPEC CHECKSUMS: shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695 workmanager: 0afdcf5628bbde6924c21af7836fed07b42e30e6 -PODFILE CHECKSUM: b63d507eb7cc768afa26646638aaf07f371f6370 +PODFILE CHECKSUM: f1f673b308b29c90487ecf3ff69323d61453a8a9 COCOAPODS: 1.14.3 diff --git a/melos.yaml b/melos.yaml index 902e5a03..8bb6fd18 100644 --- a/melos.yaml +++ b/melos.yaml @@ -5,6 +5,8 @@ packages: scripts: get: melos exec -- dart pub get + updgrade: melos exec -- dart pub upgrade + generate:dart: run: melos exec -c 1 --depends-on="build_runner" --no-flutter -- "dart run build_runner build --delete-conflicting-outputs" description: Build all generated files for Dart packages in this project.