Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
722 views
in Technique[技术] by (71.8m points)

svn - Can you disable version control integration in Xcode 4?

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 console (it recognises that my project is a local SVN copy)...

In particular, there are loads of ERROR: Your working copy returned an SVN status of "external" that we don't handle (yet) messages due to my svn:externals.

This has to be slowing the IDE down - does anyone know of any way to disable the SVN integration in Xcode 4?

question from:https://stackoverflow.com/questions/5466254/can-you-disable-version-control-integration-in-xcode-4

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...