xcode PBXCp 错误..故事板:没有那个文件或目录
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23914244/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
PBXCp Error..Storyboard: No such file or directory
提问by user3683815
Very weird error. My storyboard is working fine, but I'm missing my xml file. I found a solution here: http://www.pashik.com/2012/08/25/xcode-error-could-not-launch-app-no-such-file-or-directory/
很奇怪的错误。我的故事板工作正常,但我缺少我的 xml 文件。我在这里找到了一个解决方案:http: //www.pashik.com/2012/08/25/xcode-error-could-not-launch-app-no-such-file-or-directory/
The article suggests I delete the app contents in derived data folder at “~/Library/Developer/Xcode/DerivedData/YOUR_APP_NAME
文章建议我删除“~/Library/Developer/Xcode/DerivedData/YOUR_APP_NAME”中派生数据文件夹中的应用程序内容
This solution seems to be working for others. My problem is that when I go to that folder, the files are missing..
此解决方案似乎对其他人有效。我的问题是,当我转到该文件夹时,文件丢失了..
So how would I go about deleting such files? Are the files hidden? Do I need to delete them via terminal?
那么我将如何删除这些文件呢?文件被隐藏了吗?我需要通过终端删除它们吗?
Here's the error x-code gave me:
这是 x 代码给我的错误:
CpResource /Users/---/Desktop/Storyboard /Users/---/Library/Developer/Xcode/DerivedData/App_name-dvzijgdixqofgwdwwnjpvdnicolv/Build/Products/Debug-iphonesimulator/App-name.app/Storyboard
cd /Users/---/Documents/App-Name
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/---/Desktop/Storyboard /Users/---/Library/Developer/Xcode/DerivedData/App-Name-dvzijgdixqofgwdwwnjpvdnicolv/Build/Products/Debug-iphonesimulator/App-name.app
error: /Users/---/Desktop/Storyboard: No such file or directory
回答by Sobia
In project setting click the build phase tab , there you find Copy Bundle Resources delete the file which provide you the error, it really solved my problem
在项目设置中单击构建阶段选项卡,您会发现复制捆绑资源删除提供错误的文件,它确实解决了我的问题