From 62d3ead9a8abff127a355f0d40f2fd35c3daa8a7 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Sat, 14 Jan 2023 18:23:10 +0500 Subject: [PATCH] mobile: update podfile to fix xcode 14 issue --- apps/mobile/native/ios/Podfile | 7 +++++++ apps/mobile/native/ios/Podfile.lock | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/mobile/native/ios/Podfile b/apps/mobile/native/ios/Podfile index 3ada2ecd1..60cf66e58 100644 --- a/apps/mobile/native/ios/Podfile +++ b/apps/mobile/native/ios/Podfile @@ -65,4 +65,11 @@ post_install do |installer| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" end end + 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 diff --git a/apps/mobile/native/ios/Podfile.lock b/apps/mobile/native/ios/Podfile.lock index cd04ebc36..d134d3ec6 100644 --- a/apps/mobile/native/ios/Podfile.lock +++ b/apps/mobile/native/ios/Podfile.lock @@ -761,6 +761,6 @@ SPEC CHECKSUMS: toolbar-android: 2a73856e98b750d7e71ce4644d3f41cc98211719 Yoga: 0b84a956f7393ef1f37f3bb213c516184e4a689d -PODFILE CHECKSUM: ea431d42176787211e07fa94076836be481c8bb8 +PODFILE CHECKSUM: 5e50a51b68061d3da2f2af11cb058942f4ba26f7 COCOAPODS: 1.11.3