XCode6.1点击SourceControl就崩溃的解决办法

问题
ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-6604/IDEKit/SourceControl/CommandHandlers/IDESourceControlWorkingCopyMenuObject.m:181
Details:  workingCopyName should be a non-empty string, but it's an empty string
Object:   <IDESourceControlWorkingCopyMenuObject>
Method:   +titleForWorkingCopyName:branchName:dimmingIcons:warningIcon:includeIconInTitles:
Thread:   <NSThread: 0x7f8abac389d0>{number = 1, name = main}

解决办法:
removing those from the .xccheckout file fixes the crash:
IDESourceControlRepositoryExtensionIdentifierKey
public.vcs.git
IDESourceControlWCCIdentifierKey
76200F0D6584D865E96F58DE862E738E88B23A3C
IDESourceControlWCCName

.xccheckout:
Foo. xcodeproj/project.xcworkspace/xcshareddata/Foo.xccheckout

你可能感兴趣的:(source)