Xcode在SourceCache中与Assertion Failure崩溃

Xcode在SourceCache中与Assertion Failure崩溃,第1张

概述当我尝试编辑项目中的任何文件时,我收到以下错误. ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-943/Framework/Classes/Model/SourceControl/IDESourceControlTreeItem.m:771Details: (((IDESourceControlWorkingTree 当我尝试编辑项目中的任何文件时,我收到以下错误.

ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-943/Framework/Classes/Model/SourceControl/IDESourceControlTreeItem.m:771Details:  (((IDESourceControlWorkingTree *)self.sourceTree).origin) should not be nil.Object:   <IDESourceControlWorkingTreeItem: 0x401a17c00>Method:   -repositoryURLStringThread:   <NSThread: 0x40010a260>{name = (null),num = 1}Hints:   NoneBacktrace:0  0x00000001012fe366 -[IDEAssertionHandler  handleFailureInMethod:object:filename:lineNumber:messageformat:arguments:] (in IDEKit)1  0x00000001009751a4 _DVTAssertionFailureHandler (in DVTFoundation)2  0x0000000100f4b455 -[IDESourceControlWorkingTreeItem repositoryURLString] (in IDEFoundation)3  0x00007fff87b27434 _NSGetUsingkeyvalueGetter (in Foundation)4  0x00007fff87b273e9 -[NSObject(NSkeyvalueCoding) valueForKey:] (in Foundation)5  0x00007fff87b46e76 -[NSObject(NSkeyvalueCoding) valueForKeyPath:] (in Foundation)6  0x00007fff909a63f1 -[NSArrayController _multipleValueForKeyPath:atIndex:] (in AppKit)7  0x00007fff909a54e5 -[NSArrayController _singleValueForKeyPath:] (in AppKit)8  0x00007fff9070c09a -[_NSControllerObjectProxy valueForKeyPath:] (in AppKit)9  0x00007fff87b46e39 -[NSObject(NSkeyvalueCoding) valueForKeyPath:] (in Foundation)10  0x00007fff87b46e39 -[NSObject(NSkeyvalueCoding) valueForKeyPath:] (in Foundation)11  0x00007fff9070bf46 -[NSBinder _valueForKeyPath:ofObject:mode:raisesForNotApplicableKeys:] (in AppKit)12  0x00007fff9070bc30 -[NSBinder valueForBinding:resolveMarkerstoplaceholders:] (in AppKit)13  0x00007fff9090fc92 -[NSValueBinder _referenceBindingValue] (in AppKit)14  0x00007fff9090faa3 -[NSValueBinder _adjustObject:mode:observedController:observedKeyPath:context:editableState:adjustState:] (in AppKit)15  0x00007fff9090f788 -[NSValueBinder _observeValueForKeyPath:ofObject:context:] (in AppKit)16  0x00007fff909275af -[NSTextValueBinder _observeValueForKeyPath:ofObject:context:] (in AppKit)17  0x00007fff906fdbdb -[NSObject(NSkeyvalueBindingCreation) bind:toObject:withKeyPath:options:] (in AppKit)18  0x0000000100b38c0d -[NSObject(DVTBindingUtilitIEs) dvt_bind:toObject:withKeyPath:options:] (in DVTKit)19  0x0000000101358251 -[IDEInspectorBasicStringProperty bindAndConfigure] (in IDEKit)20  0x00000001013ff200 -[IDEInspectorPathFIEldProperty bindAndConfigure] (in IDEKit)21  0x000000010134e1c9 -[IDEInspectorProperty vIEwDIDInstall] (in IDEKit)22  0x00007fff8b3ee2e1 -[NSObject performSelector:] (in CoreFoundation)23  0x00007fff8b3f2722 -[NSArray makeObjectsPerformSelector:] (in CoreFoundation)24  0x0000000101407e8d -[IDEInspectorPropertyContainingVIEw propertIEsDIDInstall] (in IDEKit)25  0x0000000101407fcf -[IDEInspectorPropertyContainingVIEw vIEwDIDMovetoWindow] (in IDEKit)26  0x00007fff907f9153 -[NSVIEw _setwindow:] (in AppKit)27  0x00007fff90725124 __NSVIEwRecursionHelper (in AppKit)28  0x00007fff8b385314 CFArrayApplyFunction (in CoreFoundation)29  0x00007fff907f90d7 -[NSVIEw _setwindow:] (in AppKit)30  0x00007fff90725124 __NSVIEwRecursionHelper (in AppKit)31  0x00007fff8b385314 CFArrayApplyFunction (in CoreFoundation)32  0x00007fff907f90d7 -[NSVIEw _setwindow:] (in AppKit)33  0x00007fff90725124 __NSVIEwRecursionHelper (in AppKit)34  0x00007fff8b385314 CFArrayApplyFunction (in CoreFoundation)35  0x00007fff907f90d7 -[NSVIEw _setwindow:] (in AppKit)36  0x00007fff90725124 __NSVIEwRecursionHelper (in AppKit)37  0x00007fff8b385314 CFArrayApplyFunction (in CoreFoundation)38  0x00007fff907f90d7 -[NSVIEw _setwindow:] (in AppKit)39  0x00007fff90725124 __NSVIEwRecursionHelper (in AppKit)40  0x00007fff8b385314 CFArrayApplyFunction (in CoreFoundation)41  0x00007fff907f90d7 -[NSVIEw _setwindow:] (in AppKit)42  0x00007fff907f73e2 -[NSVIEw addSubvIEw:] (in AppKit)43  0x00000001046785b4 -[NSVIEw(IBAppKitVIEwIntegration) ibSwizzlednSVIEwDeBUG_addSubvIEw:] (in IDEInterfaceBuilderCocoaIntegration)44  0x0000000100bb167d -[DVTdisclosureVIEw layouttopDown] (in DVTKit)45  0x0000000100b291c3 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)46  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)47  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)48  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)49  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)50  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)51  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)52  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)53  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)54  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)55  0x0000000100b29272 __84+[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:]_block_invoke_0 (in DVTKit)56  0x0000000100b29037 +[DVTautoLayoutVIEw _recursivelyLayoutSubvIEwsOfVIEw:populatingSetWithLaIDOutVIEws:] (in DVTKit)57  0x0000000100b28de1 -[DVTautoLayoutVIEw vIEwWillDraw] (in DVTKit)58  0x00007fff90723c11 -[NSVIEw vIEwWillDraw] (in AppKit)59  0x00007fff90723c11 -[NSVIEw vIEwWillDraw] (in AppKit)60  0x00007fff90723c11 -[NSVIEw vIEwWillDraw] (in AppKit)61  0x00007fff90723c11 -[NSVIEw vIEwWillDraw] (in AppKit)62  0x00007fff90722952 -[NSVIEw _sendVIEwWillDrawInRect:clipRootVIEw:suppressRecursion:] (in AppKit)63  0x00007fff907216c1 -[NSVIEw displayIfNeeded] (in AppKit)64  0x00007fff9072107d _handleWindowNeedsdisplayOrLayoutOrUpdateConstraints (in AppKit)65  0x00007fff8b3b6f37 __CFRUNLOOP_IS_CALliNG_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)66  0x00007fff8b3b6e96 __CFRunLoopDoObservers (in CoreFoundation)67  0x00007fff8b38c159 __CFRunLoopRun (in CoreFoundation)68  0x00007fff8b38bae6 CFRunLoopRunspecific (in CoreFoundation)69  0x00007fff8f1dd3d3 runcurrentEventLoopInMode (in HIToolBox)70  0x00007fff8f1e463d ReceiveNextEventCommon (in HIToolBox)71  0x00007fff8f1e44ca BlockUntilNextEventMatchingListInMode (in HIToolBox)72  0x00007fff906e53f1 _DPSNextEvent (in AppKit)73  0x00007fff906e4cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)74  0x00007fff906e162d -[NSApplication run] (in AppKit)75  0x00007fff9096080c NSApplicationMain (in AppKit)76  0x0000000100904eec (in Xcode)

我尝试清除this问题中提到的XCode缓存,但这不起作用.
我尝试重新安装xcode,但也失败了.

我在MAC OSX版本10.7.2(lion)上使用Xcode版本4.2.1.

如果您对此有任何建议,请与我们联系.

谢谢.

解决方法 这已经解决了.这是由于XCode中缺少存储库.我不得不去组织者 – >存储库和左下角的按钮添加存储库.之后我的项目编译得非常好.感谢霍斯特的努力. 总结

以上是内存溢出为你收集整理的Xcode在SourceCache中与Assertion Failure崩溃全部内容,希望文章能够帮你解决Xcode在SourceCache中与Assertion Failure崩溃所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1045606.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存