Can Xcode include application resource files that are generated during the build process?

半世苍凉 提交于 2019-12-04 19:45:58

You can setup a Run Script build phase in your app's target. Write the script so that it copies the resources into the app bundle.

Vivien

This is the path i use for output:

${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}

Just copy your files in that directory, it's the bundle (simulator or device).

You can also take a look at my answer here : how to set up a Xcode build rule with a variable output file list?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!