我遇到了一个小问题,我想使用sqlite和反应本机,我已经遵循了教程,但他们都没有操作。例如,当我必须将以下代码添加到Podfile中时: pod‘https://github.com/andpor/react-native-sqlite-storage’,:pod 'React',:path => '../node_modules/react-native‘pod 'react-native-sqlite-storage',:path => '../node_modules/react-native-sqlite-storage’
然后我转到ios文件,然后进行pud更新,我有这个:enter image description here
然后我继续学习教程:我没有这个:enter image description here
但是这个:enter image description here
所以我需要帮助来解决这些问题。谢谢你的帮助。
发布于 2020-02-28 18:59:49
您在podfile中有重复的react依赖项。删除此行:
pod 'React', :path => '../node_modules/react-native/'然后使用pod update重试。
https://stackoverflow.com/questions/60449242
复制相似问题