From c3e0ddb48c00a07f04251e77c00d08cbdabb3037 Mon Sep 17 00:00:00 2001 From: Sreenadh S <32409698+sree96@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:52:14 +0530 Subject: [PATCH] [INJIMOB-1339] - xcode pod fix Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --- ios/Podfile | 6 +++++- ios/Podfile.lock | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index 00f4c3b4dc..109d89ee2c 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -78,7 +78,11 @@ target 'Inji' do end end end - + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION'] + end + end # Workaround `Cycle inside FBReactNativeSpec` error for react-native 0.64 # Reference: https://github.com/software-mansion/react-native-screens/issues/842#issuecomment-812543933 installer.pods_project.targets.each do |target| diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 0fb915668e..79536c6694 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1042,6 +1042,6 @@ SPEC CHECKSUMS: Yoga: 065f0b74dba4832d6e328238de46eb72c5de9556 ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb -PODFILE CHECKSUM: ef6fb41f40316f97c32e0b8b38aa320e6f8acf15 +PODFILE CHECKSUM: d9a0ecc696c42f6847eda558522b3b127ed8db73 COCOAPODS: 1.15.2