Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding resource files to targets is not working on Xcode 9

Tags:

xcode9

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.

like image 332
nminhtai Avatar asked Sep 28 '17 09:09

nminhtai


1 Answers

It is XCode 9 bug. I have the same problem not only with .png, with .m files too.

Opened Radar: https://openradar.appspot.com/33577678

like image 176
Igor Avatar answered Sep 28 '22 07:09

Igor