When I try to run pod install command inside ios folder in my react native project, I get the following error:
RNFBApp: Using overridden static_framework value of ‘true’
Adding a custom script phase for Pod RNFBApp: [RNFB] Core Configuration
RNFBMessaging: Using overridden static_framework value of ‘true’
[!] Invalid
Podfilefile: [!] Invalid
RNScreens.podspecfile: undefined method
install_modules_dependencies’ for Pod:Module
Did you mean? install_flipper_dependencies.`
from /Users/macbookpro/Desktop/project/node_modules/react-native-screens/RNScreens.podspec:25
——————————————-
install_modules_dependencies(s)
if new_arch_enabled
——————————————-
.
from /Users/macbookpro/Desktop/project/ios/Podfile:35
——————————————-
pod ‘FirebaseMessaging’, :modular_headers => true
config = use_native_modules!
——————————————-
I tried changing node version to various versions along with deleting node modules and reinstalling node modules. Other than that, I tried removing the build folder too from ios folder.
Moaz Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.