diff --git a/scripts/react_native_pods.rb b/scripts/react_native_pods.rb index 669a71130d1bca..f5088affeb379d 100644 --- a/scripts/react_native_pods.rb +++ b/scripts/react_native_pods.rb @@ -295,5 +295,5 @@ def __apply_Xcode_12_5_M1_post_install_workaround(installer) # We need to make a patch to RCT-Folly - remove the `__IPHONE_OS_VERSION_MIN_REQUIRED` check. # See https://github.com/facebook/flipper/issues/834 for more details. time_header = "#{Pod::Config.instance.installation_root.to_s}/Pods/RCT-Folly/folly/portability/Time.h" - `sed -i -e $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' #{time_header}` + `sed -i -e $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' '#{time_header}'` end