首页 > 解决方案 > leveldb 语义错误,不断接收来自 podfiles 的错误

问题描述

我试图在模拟器中运行我的应用程序,突然我从leveldb-library podfile 收到一个我认为我从未接触过的错误。

该错误来自文件内的一行代码,并说 No member named 'NoBarrier_Store' in 'std::__1::atomic<unsigned long>' 我不知道​​在这里做什么,因为我认为从未接触过任何这个 podfile。我所做的唯一可能与此错误有关的事情是安装已弃用的库。它被称为 ImagePicker,也许该安装对其他 podFiles 有一些干扰。但除此之外,我认为没有做过任何有影响力的事情。

根据我运行的时间,我会从其他 podfile(例如Lottie-iosnanopb )收到一些我无法理解的其他错误。

我现在不知道该怎么办,我已经尝试从终端安装所有 pod,但没有任何改变......感谢任何可以提供帮助的人。

标签: iosswifterror-handlingcocoapodsleveldb

解决方案


为您的项目位置打开终端并使用以下命令:-

step 1:- open podfile
step 2:- copy your all pods and remove all pods and save the file 
step 3:- pod install
step 4:- open podfile
step 5:- paste your all pods again and save the file
step 6:- pod install
step 7:- exit

它会解决你的问题:)。


推荐阅读