简体   繁体   English

Xcode 10 pod错误

[英]Xcode 10 pod errors

I updated my Xcode to version 10, I get the following error. 我将Xcode更新到版本10,出现以下错误。

在此处输入图片说明

I updated cocoapods to 1.5.3 and Firebase (and all other pods) to the latest version. 我将cocoapods更新为1.5.3,并将Firebase(和所有其他Pod)更新为最新版本。 Please help me. 请帮我。

在此处输入图片说明

Because the pods are created and tested with specific version of Xcode, when a new version of Xcode is released the author of the pods should update the code, perform testing and release a new version. 因为pod是使用特定版本的Xcode创建和测试的,所以当发布新版本的Xcode时,pod的作者应更新代码,执行测试并发布新版本。 This takes time and probably in your case you need to wait a new version of the pods (last version sometimes doesn't mean compatible with last Xcode) or you can continue to use the previous version of Xcode. 这会花费时间,并且可能在您的情况下,您需要等待新版本的Pod(最新版本有时并不意味着与最新Xcode兼容),或者您可以继续使用先前版本的Xcode。

If you want use the last version of Xcode you can check in the Cocoapods website if there is a new version of your pod. 如果要使用最新版本的Xcode,可以在Cocoapods网站上检查是否有新版本的Pod。 If the new version is available use the command (from the main folder of your project) 如果有新版本可用,请使用命令(从项目的主文件夹中)

pod update [name of the pod]

And the pod will be updated. 并且吊舱将被更新。 Then recompile your project. 然后重新编译您的项目。

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

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