ios - leveldb 语义错误,不断接收来自 podfiles 的错误
问题描述
我试图在模拟器中运行我的应用程序,突然我从leveldb-library podfile 收到一个我认为我从未接触过的错误。
该错误来自文件内的一行代码,并说 No member named 'NoBarrier_Store' in 'std::__1::atomic<unsigned long>'
我不知道在这里做什么,因为我认为从未接触过任何这个 podfile。我所做的唯一可能与此错误有关的事情是安装已弃用的库。它被称为 ImagePicker,也许该安装对其他 podFiles 有一些干扰。但除此之外,我认为没有做过任何有影响力的事情。
根据我运行的时间,我会从其他 podfile(例如Lottie-ios和nanopb )收到一些我无法理解的其他错误。
我现在不知道该怎么办,我已经尝试从终端安装所有 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
它会解决你的问题:)。
推荐阅读
- java - 在以下任何来源中都找不到插件 [id: 'org.jetbrains.intellij', version: '1.1.2']
- scala - 将 row_number 列添加到分区的 Spark 数据帧
- c# - asp.net core app.UseExceptionHandler() 来处理某些端点的异常?
- javascript - 事件监听器工作不正常,else 子句没有被执行
- c++ - 值 247 的无符号字符超出范围?
- serialization - Redux 工具包查询(RTK 查询)被忽略的路径 - 任何示例?
- c# - “代理”异步方法的最佳方式
- javascript - 从数组对象获取信息
- json - 在 Talend 中使用 tFileOutputExcel 和 tExtractJSONFields
- java - 在 onResponse 方法之外使用 api 响应 (retrofit2)