From d9baf529012181759ab0ab67d202fb5c06fdabc5 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 25 Oct 2022 13:31:04 +0300 Subject: [PATCH] Fixes #6879 - Xcode 14 resource bundle signing errors --- Podfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Podfile b/Podfile index c0144e7ad..c734fd817 100644 --- a/Podfile +++ b/Podfile @@ -154,5 +154,14 @@ post_install do |installer| config.build_settings['WARNING_CFLAGS'] ||= ['$(inherited)','-Wno-nullability-completeness'] config.build_settings['OTHER_SWIFT_FLAGS'] ||= ['$(inherited)', '-Xcc', '-Wno-nullability-completeness'] end + + # Fix Xcode 14 resource bundle signing issues + # https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1259231655 + 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 + end end