移动xcode项目导致红色文本(从项目中丢失文件) [英] move xcode project causes red text(missing files from project)

查看:90
本文介绍了移动xcode项目导致红色文本(从项目中丢失文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将iphone项目目录移动到新路径时。
有一些红色文本表示项目源代码中缺少的文件。
如何避免这些?

When I move iphone project directory to a new path. There are some red texts indicate the missing files from the project source codes. How to aovoid these?

推荐答案

以下是使用Xcode 4界面查找丢失(红色)文件的方法:

Here is how to locate the missing (red) files using the Xcode 4 interface:


  1. 在左侧Project Navigator中选择一个或多个文件(文件夹图标)

  2. 在右侧边栏中单击文件检查器,这是类似页面的最左侧图标

  3. 在身份和类型部分中,有一个标有位置的灰色框。

  4. 点击左下方的小图标,类似于文件浏览器 - 这将提供一个文件浏览器来查找文件。

  1. Select the file or files in the left hand Project Navigator (the folder icon)
  2. In the right sidebar click on "File Inspector" which is the leftmost icon resembling a page
  3. In the "Identity and Type" section, there is a grey box labeled "Location".
  4. Click on the small icon to the lower left that resembles a file browser - this will come up with a file browser to locate the file.

瞧,你已经完成了。

这篇关于移动xcode项目导致红色文本(从项目中丢失文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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