有没有办法让 Xcode 监视文件夹的文件添加/删除?
我使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不。
您能做的最接近的事情就是从 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.