Target Branch(es)
0.79
Link to commit or PR to be picked
facebook/react-native#50646
Description
While we were refactoring the generation of the podspec, we made a mistake and we started generating the ReactCodegen.podspec for both libraries and apps.
This must be generated only for apps.
The PR is already against 0.79, so we can merge it right away.
This mimic facebook/react-native#50645 for main, where the code changed significantly, so the cherry pick wouldn't not be clean, hence a dedicated PR.