我确实收到警告xcodeproj 已重命名为
project。从现在开始,请在使用 Cocoapods 1.0 运行
。pod install
时使用它。
此外,[NSBundle bundleWithIdentifier:@"org.cocoapods.xyz"]
返回nil
。
在版本 0.39.0 中,我没有收到警告,并且 [NSBundle bundleWithIdentifier:@"org.cocoapods.xyz"]
返回有效的包。
有人知道这个问题的解决办法吗?
最佳答案
查看您的 Podfile。你有像
这样的字符串xcodeproj 'MyProj/MyProj.xcodeproj'
只需将xcodeproj替换为项目
项目“MyProj/MyProj.xcodeproj”
关于Cocoapods 1.0 : "xcodeproj was renamed to ` project`. 请从现在开始使用它。”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37341574/