From fee3560deaa31f6b6247c9bee8916e6a08f219a5 Mon Sep 17 00:00:00 2001 From: mlch911 Date: Sat, 27 Aug 2022 18:24:14 +0800 Subject: [PATCH] Fix Xcode 14 Bug --- ios/Podfile | 7 +++++++ ios/Podfile.lock | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ios/Podfile b/ios/Podfile index 3133d73..f5b7e36 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -36,6 +36,13 @@ end post_install do |installer| installer.pods_project.targets.each do |target| + # Fix Xcode14 bundle need sign + if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle" + target.build_configurations.each do |config| + config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO' + end + end + flutter_additional_ios_build_settings(target) target.build_configurations.each do |config| # You can remove unused permissions here diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 5f0b109..e673450 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -216,6 +216,6 @@ SPEC CHECKSUMS: url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef webview_flutter: d2b4d6c66968ad042ad94cbb791f5b72b4678a96 -PODFILE CHECKSUM: 472b36355d7f1afce121640438e776da12affe90 +PODFILE CHECKSUM: 568d83cfac207bd024fffa34866403436cf8f991 COCOAPODS: 1.11.3