diff --git a/scripts/react_native_pods.rb b/scripts/react_native_pods.rb index 76a814ce575..e55b6f50454 100644 --- a/scripts/react_native_pods.rb +++ b/scripts/react_native_pods.rb @@ -245,5 +245,5 @@ def __apply_Xcode_12_5_M1_post_install_workaround(installer) # "Time.h:52:17: error: typedef redefinition with different types" # We need to make a patch to RCT-Folly - set `__IPHONE_10_0` to our iOS target + 1. # See https://github.com/facebook/flipper/issues/834 for more details. - `sed -i -e $'s/__IPHONE_10_0/__IPHONE_12_0/' Pods/RCT-Folly/folly/portability/Time.h` + `sed -i -e $'s/__IPHONE_10_0/__IPHONE_12_0/' #{installer.sandbox.root}/RCT-Folly/folly/portability/Time.h` end