有没有办法让 Xcode 监视文件夹的文件添加/删除?

发布于 2024-12-13 07:12:31 字数 272 浏览 3 评论 0原文

我使用 Xcode 已有一年了,如果有什么方法可以告诉 Xcode 在项目中实际“包含文件夹”,这总是困扰着我。

我的意思是,当我在该文件夹中创建或放置新文件时,Xcode 会自动将其添加到项目中。

当然,删除也应该是一样的 - 我不想让 Xcode 一直抱怨

天哪,我看不到文件!我要哭泣并让它变成闪亮的红色

相反,我希望 Xcode 从项目中删除文件的引用。

那么,有什么办法可以做到这一点吗?

谢谢!

I'm using Xcode for a year now, and it's always bothered me if there is any way to tell Xcode to actually "Include the folder" in the project.

What I mean by that, is that I want that when I create or drop new file inside that folder, Xcode will automatically add it to the project.

Of course it should be the same about deleting - I don't want Xcode to complain all the time

OMG I can't see file! I'm gonna cry and make it shiny red.

Rather I want Xcode to just remove the file's reference from the project.

So, Is there any way to do that?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空名 2024-12-20 07:12:31

不。

您能做的最接近的事情就是从 Finder 将文件夹拖到 Xcode 中。对于删除,请先在 Xcode 中删除,然后选择将文件移至垃圾箱的按钮。

No.

The closest thing you can do is drag your folders into Xcode from Finder. For deletions, delete in Xcode first and select the button for moving your files to the trash.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文