在我的Xcode项目中,我将它设置为在“复制包资源”步骤中复制我需要的所有文件,并且它不链接到任何额外的库,但是当我编译项目时,它复制了许多文件。甚至在项目的文件引用中(与该版本的应用程序无关的一些.dll文件)。
这些文件可能在某一点意外地被添加到“复制包资源”步骤中,但之后被删除了。 如何找出这些文件仍然被复制的原因以及如何防止它?
In my Xcode project, I have it set to copy all the files I need in the "Copy bundle resources" step and it doesn't link to any extra libraries, yet when I compile the project it copies a number of files that aren't even in the project's file references (a number of .dll files that have nothing to do with this version of the app).
The files may have accidentally been added to the "copy bundle resources" step at one point but were since removed. How can I find out why are these files still being copied and how can I prevent it?
最满意答案
事实证明,在删除这些文件之前,文件是从构建中遗留下来的。 从products文件夹中删除应用程序摆脱了额外的文件。
Turns out the files were left over from a build before those files were removed. Trashing the app from the products folder got rid of the extra files.
更多推荐
发布评论