简体   繁体   中英

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:

在此处输入图片说明

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

在此处输入图片说明

How can I add the .bundle to source control?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM