我怎样才能改变角色时,公众复制头建立在X code相preserve分组? [英] How can I preserve subgroups when changing role to public in Copy Headers build phase in XCode?

查看:120
本文介绍了我怎样才能改变角色时,公众复制头建立在X code相preserve分组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,层次结构被变平,而所有的头文件被复制到单个集目录,不管它们是什么子中,在我的类文件夹中。

currently, the hierarchy is flattened out, and all the headers files are copied into a single Headers directory, no matter what subfolder they were in, in my Classes folder.

此引用头时,如果头有包含在子文件夹中引用其他报表的头是一个问题。

This is a problem when referencing the headers, if the headers have "include" statements that reference other headers in subfolders.

在特别是,这种螺钉上BridgeSupport汇编

in particular, this screws up BridgeSupport compilation.

推荐答案

我的理解是复制行为标题总是平坦的文件结构。您可以在那份(CP -r)过程从原来的位置标题到你想要的目的地的末尾添加自定义的文件副本或自定义脚本。这些都是可行的解决方法了。同时,绝对发表您的要求 bugreport.apple.com

My understanding is the Copy Headers behavior always flattens the file structure. You can either add a custom file copy or a custom script at the end of the process that copies (cp -r) the headers from their original location to your desired destination. These are viable workarounds for now. Meanwhile, definitely post your request to bugreport.apple.com.

这篇关于我怎样才能改变角色时,公众复制头建立在X code相preserve分组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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