Ignore .svn folders during resources copying build phase #972

Closed
garnett opened this Issue Apr 15, 2013 · 3 comments

Projects

None yet

2 participants

@garnett
Contributor
garnett commented Apr 15, 2013

Prerequisites:

  1. SVN 1.6 (.svn in every folder)
  2. Pods directory added to source control

Bug:

  1. We have facebook added as pod and it's hase Resources.bundle.
  2. When the copy resources build phase starts, xcode complains that it has no access to files and build fails.

Possible solution:
Use
rsync -av --exclude '/.svn/' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"

instead of 'cp -R'

@fabiopelosin
Member

Sounds good, do you plan to submit a pull request?

@garnett
Contributor
garnett commented Apr 16, 2013

Here it is: #977

@fabiopelosin
Member

Closed by #977

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment