Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

enter image description here

When I try to right-click and select Source Control, the Add menuitem is disabled/dimmed:

enter image description here

How can I add the .bundle to source control?

like image 829
ohho Avatar asked Feb 24 '12 03:02

ohho


1 Answers

For stuff like this that Xcode doesn't instinctively or decently do, I usually resort to using the command line options.

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.

And once it's checked in or committed & pushed or whatever, Xcode will be able to manage the files within that directory just fine.

like image 171
Michael Dautermann Avatar answered Sep 23 '22 17:09

Michael Dautermann