Introducing yellow folders with a triangle (
) in Xcode 9 is the same as an additional new feature that allows the Project Navigator team to communicate directly with the file system.
Yellow Xcode 9 folders with a triangle (
) is a group that is not associated with a file system directory. So Xcode 9 yellow folder-with-a-triangle Group (
) is the same as the plain yellow Xcode 8 group (
) ... since prior to Xcode 9, Project Navigator groups could not be explicitly linked to the file system directory.
In Xcode 9, file system directory associations can be explicitly added or removed from the Project Nagivator group using the File Inspector . The triangle will turn on or off to indicate whether a file system association exists for the group.
Click the File folder icon in the Add File System Contains Directory system for the group:

Click โ Clear path โ File Inspectorโ to remove the file system directory association from the group. Or click the folder icon to change the file system containing the directory association into a group:

In the context menu of Xcode> File> New or in Project Navigator, you can add groups in the following ways:

- A new group: (
) creates an empty group and creates a linked โcontainingโ file system directory. - New group without folders: (
) creates a new empty group without file system directory associations. - New group from the selection: (
) creates an empty group and creates the associated "containing" directory of the file system AND moves the selected items to the newly created "containing" directory in the file system.
In addition, with the new Xcode 9 features, dragging the file system directory into the project navigator will create groups (
) and subgroups (
), each of which is associated with the corresponding source directory of the file system.

Release Notes Xcode 9 notes that a group with an appropriate file system directory also has the following new features:
Dragging and dropping files between groups in Project Navigator moves files in the file system and updates any associated working copies of SCM.
When a group is connected to a folder in the file system, creating, renaming and deleting groups updates the corresponding files and folders in the file system.
l --marc l Dec 26 '17 at 3:26 2017-12-26 03:26
source share