xcode - 将文件夹结构复制到我的应用程序包中 [英] xcode - copy a folder structure into my app bundle

查看:28
本文介绍了xcode - 将文件夹结构复制到我的应用程序包中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 10 深左右的文件夹结构.我需要将该完整结构复制到我的应用程序资源文件夹中.有没有比为每个文件夹手动重新创建 100 个复制阶段更简单的方法?

I have a folder structure 10 deep or so. I need to copy that full structure into my app resource folder. Is there an easier way than manually recreating it with 100s of copy phases for each of the folders?

推荐答案

当你向 Xcode 添加目录时,会有一个复选框(默认开启)来将文件夹转换为组.

When you add a directory to Xcode, there is a tickbox (on by default) to convert folders into groups.

关闭它,它就会做你想做的事.

Turn that off, and it will do what you want.

这篇关于xcode - 将文件夹结构复制到我的应用程序包中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆