Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Rsync resources in is too slow #1050

onato opened this Issue · 3 comments

3 participants


I have decreased the time it takes to run on my project from 26 seconds to 6 seconds.

I have a lot of resources so the bottle neck is the rsync commands that copy the resources.

This can be sped up by instead issuing just one rsync command ( rsync --files-from ). I have modified my script as follows

      echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
      #rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
install_resource 'blah1/blah.png'
install_resource 'blah2.png'
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"

Can you please implement something like this to speed up the build time?


That sounds great, if you would like to submit a pull request you can find the relevant file here.




Still too slow! (Is it ok to followup on this even though the issue is closed?)

I've fixed the xcasset part of the script too, when actool is run to copy asset catalogs into the target, so its only applied to asset catalogs in the Pods dir and not the entire source. My pull req. is #2426

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.