PBXCp Error..Storyboard:没有这样的文件或目录 [英] PBXCp Error..Storyboard: No such file or directory

查看:173
本文介绍了PBXCp Error..Storyboard:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

非常奇怪的错误。我的故事板工作正常,但我错过了我的xml文件。我在这里找到了一个解决方案: http://www.pashik.com/2012/08/25/xcode-error-could-not-launch-app-no-such-file-or-directory/

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/

文章建议我删除派生数据文件夹中的应用内容〜/ Library / Developer / Xcode / DerivedData / YOUR_APP_NAME

The article suggests I delete the app contents in derived data folder at "~/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?

这是x-code给我的错误:

Here's the error x-code gave me:

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


推荐答案

在项目设置中单击构建阶段选项卡,在那里找到Co py Bundle Resources删除提供错误的文件,它确实解决了我的问题

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

这篇关于PBXCp Error..Storyboard:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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