CocoaPods 1.0:"xcodeproj更名为`project`。请从现在起使用它。 [英] Cocoapods 1.0: "xcodeproj was renamed to `project`. Please use that from now on."

查看:23
本文介绍了CocoaPods 1.0:"xcodeproj更名为`project`。请从现在起使用它。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用CocoaPods 1.0运行pod install时,我确实收到警告xcodeproj was renamed to项目. Please use that from now on.

另外,[NSBundle bundleWithIdentifier:@"org.cocoapods.xyz"]返回nil

使用0.39.0版时,我没有收到警告,[NSBundle bundleWithIdentifier:@"org.cocoapods.xyz"]返回有效的捆绑包。

有人知道此问题的解决方案吗?

推荐答案

查找您的Podfile。您有类似

的字符串

xcodeproj 'MyProj/MyProj.xcodeproj'

只需将xcodeproj替换为项目

project 'MyProj/MyProj.xcodeproj'

这篇关于CocoaPods 1.0:"xcodeproj更名为`project`。请从现在起使用它。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆