简体   繁体   English

CocoaPods建设项目错误

[英]CocoaPods error on building project

I have a running project which is working fine with pods. 我有一个正在运行的项目,可以与Pod正常工作。 I had to copy this project to develop version-2. 我必须复制该项目才能开发版本2。 Now when I try to build project, I encounter following issue in pod's code. 现在,当我尝试构建项目时,在pod的代码中遇到以下问题。 I tried removing this specific pod but same type of errors were shown in different pod. 我尝试删除此特定容器,但在不同容器中显示了相同类型的错误。

tried all of this: https://guides.cocoapods.org/using/troubleshooting.html ,but it didn't help at all. 尝试了所有这一切: https : //guides.cocoapods.org/using/troubleshooting.html ,但是它根本没有帮助。

Being new to iOS development, I can't figure out, what I am doing wrong. 作为iOS开发的新手,我不知道自己在做什么错。

当我使用IQKeyboardManager Pod时显示此错误

It seems like you are using the newer version of pod in older Xcode. 似乎您在较旧的Xcode中使用的是最新版本的pod。 So either you need to update your Xcode or downgrade your pod to the relevant version supporting Xcode. 因此,您需要更新Xcode或将pod降级到支持Xcode的相关版本。 From image i can guess you might be using Xcode 7.2 or down and pod is in swift 2.3 or 3 从图像中,我可以猜测您可能正在使用Xcode 7.2或更低版本,并且pod的运行速度为2.3或3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM