我试图在模拟器中运行我的应用程序,突然我从leveldb 库podfile 收到一个错误,我想我从来没有碰过。
该错误来自文件内的一行代码,并显示No member named 'NoBarrier_Store' in 'std::__1::atomic<unsigned long>'
我不知道在这里做什么,因为我认为从来没有接触过这个 podfile 中的任何一个。 我唯一做过并且可能与此错误有关的事情是安装一个已弃用的库。它被称为ImagePicker,也许该安装与其他podFiles有一些干扰。但除此之外,我认为没有做任何有影响力的事情。
根据我运行的时间,我从其他 podfile (例如Lottie-ios和nanopb(收到一些我无法理解的其他错误。
我不知道现在该怎么办,我已经尝试从终端安装 pod 安装所有 pod,但没有任何变化...... 感谢任何可以提供帮助的人。
打开项目位置的终端,然后使用以下命令:-
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
它将:)解决您的问题。