简体   繁体   English

无法使用cocoapods存档iOS项目

[英]Cannot archive an iOS project with cocoapods

I've tried to archive my iOS project, but I've got errors with some pods. 我尝试存档我的iOS项目,但是某些Pod出现错误。 Versions in my project's and pods' target are equals. 我项目的目标和pod的目标中的版本相同。 Here is a screenshot from xcode, thank you! 这是xcode的屏幕截图,谢谢!

xcode的屏幕截图

podfile的屏幕截图

Looks like the header files are not being found.Try adding the Pods framework path to your projects 'Header Search Paths'. 似乎没有找到头文件。尝试将Pods框架路径添加到项目的“头搜索路径”中。 Header Search Paths can be found in the build settings section of your project 标题搜索路径可以在项目的构建设置部分中找到

I've found solution. 我找到了解决方案。 This errors appeared because I have had two versions of xcode on my iMac. 出现此错误是因为我的iMac上有两个版本的xcode。 After deleting one of them the problem was solved. 删除其中一个后,问题解决了。

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

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