Xcode在创建类或者新的工程,选择文件位置的时候,Xcode就会闪退,
崩溃代码如下:
Process: Xcode [2014]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 8.2 (11766)
Build Info: IDEFrameworks-11766000000000000~2
App Item ID: 497799835
App External ID: 820045587
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2014]
User ID: 501
Date/Time: 2016-12-19 22:44:59.914 +0800
OS Version: Mac OS X 10.12.1 (16B2657)
Report Version: 12
Anonymous UUID: 6364BBDF-DB1E-568A-5D37-841DA9F2BD3E
Time Awake Since Boot: 13000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 8C38
UNCAUGHT EXCEPTION (NSRangeException): *** -[NSConcreteTextStorage attribute:atIndex:longestEffectiveRange:inRange:]: Range or index out of bounds
UserInfo: (null)
Hints: None
仔细回想,之前只是在终端运行了一句:sudo /usr/libexec/xpccachectl
而已。求帮助
崩溃代码如下:
Process: Xcode [2014]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 8.2 (11766)
Build Info: IDEFrameworks-11766000000000000~2
App Item ID: 497799835
App External ID: 820045587
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2014]
User ID: 501
Date/Time: 2016-12-19 22:44:59.914 +0800
OS Version: Mac OS X 10.12.1 (16B2657)
Report Version: 12
Anonymous UUID: 6364BBDF-DB1E-568A-5D37-841DA9F2BD3E
Time Awake Since Boot: 13000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 8C38
UNCAUGHT EXCEPTION (NSRangeException): *** -[NSConcreteTextStorage attribute:atIndex:longestEffectiveRange:inRange:]: Range or index out of bounds
UserInfo: (null)
Hints: None
仔细回想,之前只是在终端运行了一句:sudo /usr/libexec/xpccachectl
而已。求帮助