在React Native 0.61中删除iOS上的Firebase依赖项 [英] Remove Firebase dependencies on iOS in React Native 0.61
问题描述
我已经阅读了很多与我的标题相似的文章.但是他们没有为我工作.我正在研究React Native iOS项目,需要从iOS项目中删除Firebase依赖项.
I have read a lot of articles similar my title. But they are not working for me. I am working on React Native iOS project and need to delete firebase dependencies from iOS project.
因此,我在ios/Podfile中删除了Firebase核心导入行,然后进行了pod clean和pod install.但这对我不起作用.Firebase已安装,依此类推.请帮助我提供正确的解决方案.
So I have removed firebase core import line in ios/Podfile and then pod clean and pod install. But it is not working for me. Firebase is installed so on. Please help me with correct solution.
推荐答案
请按照以下步骤操作:
1.从pod文件中删除line pod/firebase
1.Remove the line pod/firebase from your pod file
2.run命令npm卸载项目根文件夹中的react-native-firebase
2.run command npm uninstall react-native-firebase in your project root folder
3.在ios文件夹中运行pod install.
3.Run pod install in ios folder.
这篇关于在React Native 0.61中删除iOS上的Firebase依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!