Skip to content

Commit 18a7c8d

Browse files
cipolleschifacebook-github-bot
authored andcommitted
Do not generate ReactCodegen.podspec for libraries (#50645)
Summary: Pull Request resolved: #50645 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. ## Changelog: [iOS][Fixed] - Generate `ReactCodegen.podspec` only for apps. Reviewed By: fabriziocucci Differential Revision: D72854074 fbshipit-source-id: 5a1d1120e576d4fe4cf8f733793f5a2619278c2b
1 parent 87809d9 commit 18a7c8d

File tree

1 file changed

+6
-6
lines changed
  • packages/react-native/scripts/codegen/generate-artifacts-executor

1 file changed

+6
-6
lines changed

packages/react-native/scripts/codegen/generate-artifacts-executor/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ function execute(
123123
outputPath,
124124
);
125125
generateAppDependencyProvider(outputPath);
126+
generateReactCodegenPodspec(
127+
projectRoot,
128+
pkgJson,
129+
outputPath,
130+
baseOutputPath,
131+
);
126132
}
127-
generateReactCodegenPodspec(
128-
projectRoot,
129-
pkgJson,
130-
outputPath,
131-
baseOutputPath,
132-
);
133133

134134
cleanupEmptyFilesAndFolders(outputPath);
135135
}

0 commit comments

Comments
 (0)