Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use modern Podfile syntax to avoid polluting application build settin…
…gs (#35954) Summary: Fixes conflicts in pod build settings like the one below: Example warning > Can't merge user_target_xcconfig for pod targets: ["RNReanimated", "hermes-engine"]. Singular build setting CLANG_CXX_LANGUAGE_STANDARD has different values. Background: > The former attribute xcconfig is deprecated and will cause a linter error when pushing new versions to trunk. The new attributes are available as pod_target_xcconfig and user_target_xcconfig, which makes their effects more clear. The latter attribute (user_target_xcconfig) should be used with great care, because well designed Pods should be self-contained and make as few assumptions about their environment as possible. Furthermore, this attribute can cause conflicts when different values are specified by two Pods for a build setting which doesn't allow multiple values and so cannot be merged. - https://blog.cocoapods.org/CocoaPods-0.38/ ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [IOS] [FIXED] - Fix cocoapods warning about merging user_target_xcconfig --> Pull Request resolved: #35954 Test Plan: - Run in example app ## Related PR - facebook/hermes#903 Reviewed By: christophpurrer Differential Revision: D42737921 Pulled By: jacdebug fbshipit-source-id: 75d087a5287e660a703342d6e0ad6632f05f3c4c
- Loading branch information