自 Xcode 7 测试版以来的“未找到目录"警告 [英] 'directory not found' warning since Xcode 7 beta

查看:40
本文介绍了自 Xcode 7 测试版以来的“未找到目录"警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从在 Xcode 7 中打开我的旧项目(从 Xcode 3 开始)后,我收到了如下屏幕截图所示的警告.我已将部署目标从 8.3 更改为 9.0 以消除一些编译器错误,但此警告之前和之后都存在.我确实尝试使用 Product/Clean,删除 DerivedData 文件夹并重新安装 Xcode,但警告仍然存在.我该如何摆脱它?

Since opening my older project (started in Xcode 3) in Xcode 7 I get the warning as shown in the screenshot below. I have changed the deployment target from 8.3 to 9.0 to get rid of some compiler errors but this warning existed before and after. I did try using Product/Clean, delete the DerivedData folder and re-installing Xcode, but the warning persists. How do I get rid of it?

推荐答案

警告说明了一切,找不到目录,Xcode 正在尝试从旧系统中获取您的框架.

Warning says everything, Directory not found, Xcode is trying to get your framework from your old system.

只需转到构建阶段并搜索框架"或iPhoneSimulator"(警告消息中的任何内容).这将显示一些搜索结果,只需删除该路径即可.

Just go to Build Phases and search for "Framework" OR "iPhoneSimulator" (anything from the warning message). This will show you some search result, just delete that path.

如果这不起作用,请执行以下操作:

If this didn't work, do this:

你需要这样做:

  1. 点击您的项目(目标)
  2. 点击构建设置
  3. 在库搜索路径下(或在框架搜索路径下),删除路径.

这篇关于自 Xcode 7 测试版以来的“未找到目录"警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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