我的xcode 9.2版本在启动时崩溃,crashlog建议它在尝试访问钥匙串时崩溃。钥匙串有一些问题,因为每个尝试访问钥匙串的应用程序都崩溃了。如果我打开项目的单个文件,则xcode会打开文件,当我进入xcode偏好设置->帐户时,它再次崩溃,因此在我看来,我已经在xcode中添加了我的苹果帐户,并在尝试访问该帐户时崩溃了。我该如何解决此问题,如何从终端或在finder中某些地方的xcode中删除该帐户,因为我无法运行xcode。
请查看崩溃日志。
Process: Xcode [30293]
Path:
/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 9.3 (14154)
Build Info: IDEFrameworks-14154000000000000~2
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [30293]
User ID: 536863420
Date/Time: 2018-11-23 15:18:05.525 +0000
OS Version: Mac OS X 10.13.6 (17G3025)
Report Version: 12
Bridge OS Version: <device not connected>
Anonymous UUID: 4C96C023-6837-7F83-1532-C3005D92C816
Time Awake Since Boot: 18000 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: 9E145
ASSERTION FAILURE in
/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-
14133/DVTFoundation/Portal/DVTKeychainService.m:64
Details: A method claimed to have failed but provided no error!
Object: <DVTKeychainService: 0x7f9a6f6f8e10>
Method: -fetchPasswordForUsername:service:keychain:error:
Thread: <NSThread: 0x7f9a6a508510>{number = 1, name = main}
Hints:
0: Replacement view is installing: <IDEAccountPrefsPaneController:
0x7f9a6f97a0f0 representing: <DVTExtension 0x7f9a6bea43a0:
AccountsPrefs (Xcode.PreferencePane.Accounts) v0.1 from
com.apple.dt.IDEKit>>
Backtrace:
0 -[IDEAssertionHandler
handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:](在IDEKit中) 1 _DVTAssertionHandler(在DVTFoundation中) 2 _DVTAssertionFailureHandler(在DVTFoundation中) 3-[DVTKeychainService fetchPasswordForUsername:service:keychain:error:](在DVTFoundation中) 4 + [DVTDeveloperAccountCredentials _keychainServiceAccountCredentialsForUsername:keychain:error:](在DVTFoundation中)