diff --git a/ios/Podfile b/ios/Podfile index a854fdd1f04c..0fbab736278e 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -47,7 +47,7 @@ def __apply_Xcode_14_3_RC_post_install_workaround(installer) end end -# Pods does not derive :debug type from NewExpensify's debug configurations so we need to set it manually before react-native-post-install. +# Pods does not derive :debug type from NewExpensify's debug configurations so we need to set it manually before react-native-post-install. # Based on this value react-native-post-install will set the correct GCC_PREPROCESSOR_DEFINITIONS e.g. ENABLE_HERMES_DEBUGGER def __set_debug_type_for_debug_configurations(installer) installer.pods_project.build_configurations.each do |config| @@ -113,8 +113,8 @@ target 'NewExpensify' do installer.pods_project.targets.each do |target| target.build_configurations.each do |config| - config.build_settings['SWIFT_ENABLE_EXPLICIT_MODULES'] = 'NO' - end + config.build_settings['SWIFT_ENABLE_EXPLICIT_MODULES'] = 'NO' + end if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle" target.build_configurations.each do |config| @@ -122,12 +122,6 @@ target 'NewExpensify' do end end end - - installer.pods_project.targets.each do |t| - t.build_configurations.each do |c| - c.build_settings['SWIFT_ENABLE_EXPLICIT_MODULES'] = 'NO' - end - end end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index b5a435af8cfb..1dd1a0a58373 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -4817,6 +4817,6 @@ SPEC CHECKSUMS: VisionCamera: 30b358b807324c692064f78385e9a732ce1bebfe Yoga: 9b30b783a17681321b52ac507a37219d7d795ace -PODFILE CHECKSUM: b8d8822965874a00c1e9d5ce99cb02c3618245b2 +PODFILE CHECKSUM: 7b7e42d39b30be7ca4c68c5272e2cbf2a740695b COCOAPODS: 1.16.2