mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 20:50:09 +00:00
102062fbc7
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47761 When breaking the last dependency, we created the `RCTApDependencyProvider` in the Codegen pod. This is not an issue per sè. The problem comes in with the new template in Swift: ReactCodegen contains some headers with some C++ code that Swift can't really process. That's why most libraries started failing in jobs like [this one](https://github.com/facebook/react-native/actions/runs/11906196751/job/33177904733): the template app was not able to load the `ReactCodegen` pod in the Swift app delegate. Given that the app delegate only have to actually load the RCTAppDependencyProvider, I extracted that class in its own pod: ReactAppDependencyProvider. The name of the pod does not follow the React-RCTXXX structure because that will create issues with the import statements and the `use_frameworks!` use case. > [!NOTE] > We need to update the template and change the `import ReactCodegen` to `import ReactAppDependencyProvider` ## Changelog: [iOS][Added] - Extract RCTAppDependencyProvider in the ReactAppDependencyProvider pod Reviewed By: blakef Differential Revision: D66241941 fbshipit-source-id: 6b888109c65d9560fff322ec84a16da78fbcd64b |
||
---|---|---|
.. | ||
assets | ||
babel-plugin-codegen | ||
community-cli-plugin | ||
core-cli-utils | ||
debugger-frontend | ||
dev-middleware | ||
eslint-config-react-native | ||
eslint-plugin-react-native | ||
eslint-plugin-specs | ||
gradle-plugin | ||
helloworld | ||
hermes-inspector-msggen | ||
metro-config | ||
normalize-color | ||
polyfills | ||
react-native | ||
react-native-babel-preset | ||
react-native-babel-transformer | ||
react-native-bots | ||
react-native-codegen | ||
react-native-codegen-typescript-test | ||
react-native-info | ||
react-native-popup-menu-android | ||
react-native-test-library | ||
react-native-test-renderer | ||
rn-tester | ||
typescript-config | ||
virtualized-lists |