[英]PBXCp Error : /…/Pods/Pods.debug.xcconfig: No such file or directory
I have taken checkout of project and getting error as : 我已检出项目,并收到以下错误消息:
PBXCp Error : /.../Pods/Pods.debug.xcconfig: No such file or directory
Why is this so? 为什么会这样呢? Also what does PBXCp mean? PBXCp又是什么意思?
This is same Pods issue I'm facing. 这是我面临的相同Pod问题 。
Some possible solutions: 一些可能的解决方案:
pod install
(If there's an update waiting for CocoaPods, update it); 关闭Xcode,运行pod install
(如果有更新等待CocoaPods,请更新它); then, open it again. 然后,再次打开它。 Xcode might have failed to pick up changes while it is open. Xcode打开时可能无法获取更改。 Project
> Info
> Configurations
转到Project
> Info
> Configurations
And remember, always open workspace (.xcworkspace) file. 请记住,请始终打开工作区(.xcworkspace)文件。
PBXCp is a build utility; PBXCp是一个构建实用程序; it copies files. 它复制文件。
Your error is caused by it trying to copy a file, and not finding the file at the expected location. 您的错误是由于它试图复制文件而不是在预期位置找不到文件引起的。
I'm getting this error as I try to build an extension for an App that is not building; 我在尝试为未构建的应用构建扩展时遇到此错误; PBXCp is trying to install the extension, which did build properly, into an app bundle that doesn't exist, which fails. PBXCp尝试将扩展程序(已正确构建)安装到不存在的应用程序捆绑包中,此捆绑包将失败。
Since you're using CocoaPods, the advice on reinstalling is good. 由于您使用的是CocoaPods,因此有关重新安装的建议很好。 You could also be getting this error if you have a lot of compile steps that depend on one another; 如果您有许多相互依赖的编译步骤,则也可能会收到此错误; try building your project scheme-by-scheme, once, and that might at least get bundle directories into all the places they're needed. 尝试一次按方案构建项目方案,这至少可以将捆绑包目录放到所需的所有位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.