在启动时崩溃的Xcode"parentPath必须为nil,但不是". [英] Xcode crashing on startup "parentPath must be nil but it is not"

查看:71
本文介绍了在启动时崩溃的Xcode"parentPath必须为nil,但不是".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次启动时我都会发生XCode(最新版本)崩溃-在解决此问题之前无法完成任何工作-有任何想法吗?

I'm having XCode (latest version) crash whenever I start up - can't get anything done until I resolve this - any ideas?

  1. 错误-参见下文
  2. 在解决问题之前我做了什么

  1. Error - See below
  2. What I did prior to getting the issue

  • 已放入新的HDD(并将旧的HDD移到了光学托架中)-在新的SSD上重新安装了XCode 4-一切正常
  • 我确实在旧"硬盘上重命名了主目录用户名,以在末尾加上"_OLD" –只是,如果跳到旧硬盘上获取文件,我不会感到困惑
  • 我试图从这个旧的HDD区域打开一个测试项目-在打开它时遇到了一些问题(不记得详细信息)-从此处关闭/重新启动
  • 然后,每次我尝试重新打开XCode之后,就好像它尝试打开最后一个打开的项目(包括我遇到的问题)-出现以下错误-无法继续使用xcode必须崩溃

错误:

ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-903/Framework/Classes/FilePaths/DVTFilePath.m:322
Details:  fsrep is absolute (starts with tilde) ('~--814203924d469071-0000000000') parentPath must be nil but it is not ('<DVTFilePath:0x401bdf9e0:'/Volumes/Macintosh HD/Users/greg/.dvdcss'>')
Object:   <DVTFilePath>
Method:   +_filePathForParent:fileSystemRepresentation:length:allowCreation:
Thread:   <NSThread: 0x40010a260>{name = (null), num = 1}
Hints:   None
Backtrace:
  0  0x0000000103f44466 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
  1  0x00000001035b3794 _DVTAssertionFailureHandler (in DVTFoundation)
  2  0x0000000103550a9e +[DVTFilePath _filePathForParent:fileSystemRepresentation:length:allowCreation:] (in DVTFoundation)
  3  0x0000000103550963 +[DVTFilePath _filePathForParent:pathString:] (in DVTFoundation)
  4  0x0000000103b95642 -[DVTFilePath(IDESourceControlStatus) IDESourceControl_importantSubpaths] (in IDEFoundation)
  5  0x0000000103b414ac -[IDEFileReference _updateSourceControlStatusIfNeeded] (in IDEFoundation)
  6  0x0000000103b37951 -[IDEWorkspace _updateSourceControlStatusIfNeeded] (in IDEFoundation)
  7  0x00007fff8c2eb25a __NSFireDelayedPerform (in Foundation)
  8  0x00007fff8b82df84 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
  9  0x00007fff8b82dad6 __CFRunLoopDoTimer (in CoreFoundation)
10  0x00007fff8b80e471 __CFRunLoopRun (in CoreFoundation)
11  0x00007fff8b80dae6 CFRunLoopRunSpecific (in CoreFoundation)
12  0x00007fff8b3633d3 RunCurrentEventLoopInMode (in HIToolbox)
13  0x00007fff8b36a63d ReceiveNextEventCommon (in HIToolbox)
14  0x00007fff8b36a4ca BlockUntilNextEventMatchingListInMode (in HIToolbox)
15  0x00007fff86bde3f1 _DPSNextEvent (in AppKit)
16  0x00007fff86bddcf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
17  0x00007fff86bda62d -[NSApplication run] (in AppKit)
18  0x00007fff86e5980c NSApplicationMain (in AppKit)
19  0x0000000103549eec (in Xcode)
20  0x0000000000000002

推荐答案

可能不是最佳答案(?),但是我必须(a)重新安装+(b)删除分散在我的主目录中的所有各种XCode文件.然后启动就可以了

may not be best answer (?) however I had to (a) reinstall + (b) delete all the various XCode files scattered through my home directory...then it started up ok

这篇关于在启动时崩溃的Xcode"parentPath必须为nil,但不是".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆