Xcode-7:没有这样的文件或目录 [英] Xcode- 7: No such file or directory

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

问题描述

我一直试图运行我的Xcode项目(标题为"YidKit"),并且一直给我以下错误: error: /Users/Dani/Library/Developer/Xcode/DerivedData/YidKit-exnbjyxkgkbeaedoznkmtoenfijq/Build/Products/Debug-iphoneos/YidKitTests.xctest: No such file or directory.我花了几个小时上网,尝试使用我见过的不同解决方案,但没有任何效果.这让我发疯,因为这是剩下的唯一错误,而我刚刚摆脱了Swift 2.0造成的大约80个错误.我感谢我能获得的所有帮助!

I keep trying to run my Xcode project (titled "YidKit") and it keeps giving me the following error: error: /Users/Dani/Library/Developer/Xcode/DerivedData/YidKit-exnbjyxkgkbeaedoznkmtoenfijq/Build/Products/Debug-iphoneos/YidKitTests.xctest: No such file or directory. I spent several hours online, trying different solutions that I've seen, and nothing has worked. This is driving me crazy, because it is the only error left and I just finished getting rid of about 80 that were caused by Swift 2.0. I appreciate all of the help I can get!

更新 这是资源管理器中文件的图像.红色的是给我错误的文件.

UPDATE Here is an image of the file in the explorer. The red one is the file that is giving me the error.

推荐答案

请执行以下两项操作,我可能会解决您的问题.

do following two things I might solve your problem.

  1. 产品->清理并构建文件夹
  2. 转到finder->库-> Developer-> Xcode->派生数据 删除该文件夹
  1. Product -> Clean and build folder
  2. Go to finder -> library -> Developer -> Xcode -> Derived data delete that folder

或检查屏幕截图可能是您的问题

or check screen shot may be this is your problem

然后检查

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

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