Search code examples
iosxcodeversion-controlxcode4

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?


Solution

  • 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.