[英]How to add .bundle to Xcode 4 source control?
There is a question mark next to a .bundle
file in a Xcode 4.3 project: Xcode 4.3项目中.bundle
文件旁边有一个问号:
When I try to right-click and select Source Control
, the Add
menuitem is disabled/dimmed: 当我尝试右键单击并选择Source Control
, Add
菜单项被禁用/变暗:
How can I add the .bundle
to source control? 如何将.bundle
添加到源代码管理中?
For stuff like this that Xcode doesn't instinctively or decently do, I usually resort to using the command line options. 对于诸如Xcode不能本能或体面地做到的事情,我通常求助于使用命令行选项。
For a whole directory such as a bundle, use Terminal to cd
to the directory where the bundle lives and then do svn add Settings.bundle
or git add Settings.bundle
or whatever source control set-up you're using. 对于整个目录(例如捆绑软件),请使用Terminal cd
到捆绑软件所在的目录,然后执行svn add Settings.bundle
或git add Settings.bundle
或您正在使用的任何源代码控制设置。
And once it's checked in or committed & pushed or whatever, Xcode will be able to manage the files within that directory just fine. 并且一旦签入或提交并推送了它,Xcode将能够很好地管理该目录中的文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.