pods问题,链接器命令失败,退出代码为1

编程入门 行业动态 更新时间:2024-10-11 23:19:08
本文介绍了pods问题,链接器命令失败,退出代码为1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当我运行我的项目时,我收到这样的错误:

when I run my project, I get errors like this:

似乎我的cocoapods中的所有框架都有问题。这是我的cocoapods问题吗?我重新安装了我的cocoapods,并使用了'pod setup'或'pod install'等等,但是它不起作用,我仍然有相同的错误... 在Xcode中,红色'rd'开启像这样的'Podfile',我不知道它是否与错误有关。

It seems that all frameworks in my cocoapods have problem. Is it my problem of my cocoapods? I have reinstalled my cocoapods, and used 'pod setup' or 'pod install' and others, but it doesn't work, and I still have the same errors... And in Xcode, red 'rd' on the 'Podfile' like this, I don't know if it is related to errors.

pod 1.0.0 ruby​​ 2.0.0 xcode 7.3.1 任何人有同样的问题吗?

pod 1.0.0 ruby 2.0.0 xcode 7.3.1 Anyone have the same problem?

推荐答案

我在项目中遇到了类似的问题。经过几个小时的搜索,我发现在链接框架和库部分的项目的GENERAL设置中有两个文件用于pod:libPods.a和Pods_ProjectName.framework

I faced similar problem in my project. After hours of searching I found that in GENERAL settings of the project in section "Linked Frameworks and Libraries" there are two files for pods: "libPods.a" and "Pods_ProjectName.framework"

删除libPods.a帮助在我的情况下。

Deleting "libPods.a" helped in my case.

更多推荐

pods问题,链接器命令失败,退出代码为1

本文发布于:2023-11-13 06:28:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583700.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:命令   代码   链接   pods

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!