move xcode project causes red text (missing files from project)

后端 未结 13 1301
有刺的猬
有刺的猬 2020-12-08 13:53

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 avoid these?

13条回答
  •  甜味超标
    2020-12-08 14:29

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

    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.

    Voila, you are done.

提交回复
热议问题