Right now I'm downloading all resources and adding the references via Xcode GUI. There must be a way to automate this last step, so that a script can copying the resources to the project-directory automatically and generate the references.
In some similar questions it means to build a "new 'run script' build phase to your project." But how is the code, that adds it in a subdirectory of my project.