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

后端 未结 13 1299
有刺的猬
有刺的猬 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:27

    Xcode 7

    1.) Right click on the red (missing) file.

    2.) Select "Show File Inspector"

    3.) Look at the right hand side of the screen under "Identity and Type" between "Location" and "Full Path"

    4.) Click on the folder icon to the right of the file name.

    5.) Navigate to the file's new location in the pop-up window and select the file.

提交回复
热议问题