Adding resource files to targets is not working on Xcode 9

Viewed 711

When I drag .png files to my project and check the targets in "Add to targets" section, these files are added to the project but not to the targets.

Then I have to select target membership for these files manually.

Source files (.cpp) are added normally.

This just happens on Xcode 9. Previous versions work fine.

Any help? Thanks.

2 Answers

Please ensure that you have checkbox create groups selected and not create folder references while you adding files to project. It fixed target issue with adding group of files for me. enter image description here

Related