How can I change the location of files in xcode project?

前端 未结 5 2273
故里飘歌
故里飘歌 2020-12-17 09:57

I put some files on the same level of *.xcodeproj file carelessly. When I move these files into the right location in Finder, Xcode tells me that these files a

5条回答
  •  太阳男子
    2020-12-17 10:19

    When you see a file that is red (or in the wrong place), you can easily correct the location of these files by using the file inspector (which appears along the right side panel of your Xcode window).

    It looks like this:

    Use File Inspector to fix path

    Clicking on the Folder icon next to the name will bring up an open panel from which you can choose the correct location of the file.

提交回复
热议问题