[CocoaPods/CocoaPods #1546] Change behavior of copy_resources_script to ...

...prevent compiling unneeded .xcasset files that are not part of the current target

Fixes issue #1546 which was causing the wrong xcasset files to get compiled in certain scenarios.
Can you restore the previous indentation used here?