Can you disable version control integration in Xcode 4?

前端 未结 6 817
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-12 19:16

I use Cornerstone for managing my Subversion repositories, so I don\'t need Xcode\'s integration, and I\'m noticing Xcode is dumping loads of SVN-related output into my cons

相关标签:
6条回答
  • 2020-12-12 19:44

    In xcode 5 the repository option has been moved. It is now in XCode > Preferences > Accounts. Select your repository and click - at the bottom to delete it.

    enter image description here

    0 讨论(0)
  • 2020-12-12 19:48

    Since the /Developer directory no longer exists, the IDESubversion.ideplugin has been relocated in Xcode version 4.3

    The new path is: /Applications/Xcode/Contents/Plugins/IDESubversion.ideplugin

    0 讨论(0)
  • 2020-12-12 20:00

    Right! This seems to stop it for good - simply rename the following package to something other than IDESubversion.ideplugin (I've renamed mine IDESubversion-DISABLED.ideplugin)...

    Xcode 5.1+
    This is finally a built-in Xcode preference - see @MANIAK_dobrii's answer for details.

    Xcode 5/Xcode 4.3+:
    /Applications/Xcode.app/Contents/PlugIns/IDESubversion.ideplugin

    Xcode 4.0 - 4.2:
    /Developer/Library/Xcode/PrivatePlugIns/IDESubversion.ideplugin

    Note that in Xcode 4.0 & 4.1 (and possibly 4.2) renaming the extension seemed to work fine. From Xcode 4.3 however, you might need to leave the extension intact, and rename the name portion of the bundle instead (to avoid the error on launch that people have described in the comments below).

    Tip o' the hat to: Remove git from project in Xcode 4

    0 讨论(0)
  • 2020-12-12 20:03

    Try this:

    1. Window -> Organizer
    2. Repositories
    3. Select your repository
    4. Click the "-" button at the bottom of the Organizer window

    Unfortunately, it seems that you have to do this every time you restart Xcode.

    0 讨论(0)
  • 2020-12-12 20:03

    I'm not in front of my XCode IDE, but try this:

    1. Double click the project to set the settings
    2. Select "Subversion" in the SCM box and "Edit"
    3. Select "Disable SCM"

    This should, at the very least, get rid of your console statements.

    0 讨论(0)
  • 2020-12-12 20:11

    XCode 5.1 now has this option in the settings, and it's called "Source Control":

    Disable source control

    0 讨论(0)
提交回复
热议问题