Removing replicated files from an xcode template project

I tried to create several groups in my template project, but could not match these groups with the corresponding folders. To do this, I added my folders and give a definition, as described below.

<key>Nodes</key>
<array>
  <string>Utilities</string>
</array>

<key>Definition</key>
<dict>
  <key>Utilities</key>
  <dict>
     <key>Path</key>
     <string>Utilities</string>
  </dict>
</dict>

He added groups to my project and matched it with a physical folder. But the new problem I encountered is adding the last group file to the physical folder and adding all the group files to it. Please refer to this image:

enter image description here

Here I have two files (Constants.swift and Utils.swift) and the ViewControllerExtension folder in the Utilities folder. How to delete a folder with blue color?

+4
source share
1

create group create folder reference. .

, copy items if needed, / .

, .

+1

Source: https://habr.com/ru/post/1670027/


All Articles