[TIMOB-13553] Fixed a regression when recursively copying resources duri...

...ng ios build.