I got an error while trying to do pod install.
[!] FBReactNativeSpec has added 1 script phase. Please inspect before executing a build. Seehttps://guides.cocoapods.org/syntax/podspec.html#script_phases
for more information."
My Configurations are:
- macOS BigSur (11.4)
- Xcode 12.5.1
- Homebrew 3.2.1
- react-native 0.64.2
- node v14.17.3
- npm 6.14.13
Please help me…
2
Answers
I suspect this is related to the a dependency error on [email protected].0. If you upgrade "react-native-codegen" to version 0.0.7 the error should be fixed. It solved my problem.
Add an exception to your package.json:
For yarn:
Run
yarn add --dev react-native-codegen
and rebuild IOS project.All info here: https://github.com/facebook/react-native/issues/31180
Just run
in your project’s directory and then
then build your app again