From 901432758d4ab6d3b140631136681e67d711df70 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez Date: Tue, 9 May 2023 15:17:43 +0200 Subject: [PATCH] Update podfile for Xcode 14 Fix xcode 14 build with this script: https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1201464693 --- TestApp/ios/Podfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/TestApp/ios/Podfile b/TestApp/ios/Podfile index 889fa61e..8c1a5940 100644 --- a/TestApp/ios/Podfile +++ b/TestApp/ios/Podfile @@ -27,5 +27,12 @@ target 'TestApp' do post_install do |installer| react_native_post_install(installer) + installer.pods_project.targets.each do |target| + 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 end