mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ca8174e15f
Summary: Currently this [section](https://reactnative.dev/docs/next/new-architecture-app-intro#ios-enable-c17-language-feature-support) of the Playbook tells us to set CLANG_CXX_LANGUAGE_STANDARD = "c++17" in the main app target for the new architecture to work. Would be nice to be able to automate that instead ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [iOS] [Added] - Cocoapods function to add the `CLANG_CXX_LANGUAGE_STANDARD` to all the targets if needed Pull Request resolved: https://github.com/facebook/react-native/pull/33863 Test Plan: I've created some unit tests for the newly added function. I've executed pod install and the ruby tests locally. Reviewed By: cipolleschi Differential Revision: D36484366 Pulled By: f-meloni fbshipit-source-id: 553b092e747bef11d82195619ae1058985fdc325