为什么所有文件的 Targets 成员资格复选框都被禁用? [英] Why are the Targets memberships checkboxes disabled for all files?

查看:30
本文介绍了为什么所有文件的 Targets 成员资格复选框都被禁用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我的 xCode 项目中的所有文件都禁用了 Targets 成员资格复选框?

Why are the Targets memberships checkboxes disabled for all files in my xCode project ?

附注.我正在使用 xCode 3

PS. I'm using xCode 3

推荐答案

目标成员资格定义是否将某个文件编译并链接或复制到给定目标的包中.由于头文件通常没有单独的特定操作 - 它们包含在源文件中,并且这些源文件是用头文件的内容编译的 - 所以头文件的目标成员资格没有意义.

Target membership defines whether or not certain file is compiled and linked or copied to the bundle for the given target. As there's usually no specific actions for header separately - they're included in source files and those source files are compiled with contents of headers - so there's no sense in target membership for header files.

如果您检查实现文件的属性,则应启用目标成员资格

If you check properties for implementation files then target membership should be enabled

这篇关于为什么所有文件的 Targets 成员资格复选框都被禁用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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