mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2e720c3610
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/33791 This flag is used as a duplication for the `RCT_NEW_ARCH_ENABLED` flag. There is a [spot](https://github.com/facebook/react-native/blob/d96806bbc67f9a9e42791b319d1dddaf8a3cd34f/scripts/react_native_pods.rb#L31) in the code where, if `RCT_NEW_ARCH_ENABLED`, then the `USE_CODEGEN_DISCOVERY` is set to true as well. Maintain two different flags for similar reasons is cumbersome and error-prone. This diff removes the `USE_CODEGEN_DISCOVERY` in favor of the `RCT_NEW_ARCH_ENABLED` flag. ## CHANGELOG [iOS][Removed] - Remove USE_CODEGEN_DISCOVERY flag Reviewed By: cortinico Differential Revision: D36244618 fbshipit-source-id: 8e8979268b7aa25b895236b0c3a86fb57c6f2ea6