Xcode added folder in blue and related there files are not compiling

后端 未结 1 2128
醉话见心
醉话见心 2021-02-19 12:05

From Xcode project right click and Add File to \"projectName\" there I created a NewFolder \"ABCD\" name and added to same \"ABCD\" empty folder to the

相关标签:
1条回答
  • 2021-02-19 12:30

    If you simply drag drop a file and choose Create Folder reference, it will add as a blue folder. Please make sure you select "Create groups" from the dialogue and make sure you have selected all the targets in the "Add To Targets" section.

    Like this

    It will be added as yellow

    Group-> With groups, Xcode stores in the project a reference to each individual file. This can lead to problems:

    Folder references-> Folder references are simpler. You can spot a folder reference because it shows up in blue instead of yellow.

    0 讨论(0)
提交回复
热议问题