【问题标题】:Xcode cannot add an account it crashesXcode 无法添加崩溃的帐户
【发布时间】:2015-11-12 11:47:19
【问题描述】:

您好,我刚刚安装了 Xcode xcode 7.1.1,但在尝试添加帐户或尝试导出临时构建或在商店中发布时它突然停止工作。我每次都崩溃,有什么想法吗?

Process:               Xcode [1859]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               7.1.1 (9081)
Build Info:            IDEFrameworks-9081000000000000~5
App Item ID:           497799835
App External ID:       814167395
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [1859]
User ID:               501

Date/Time:             2015-11-12 13:45:22.741 +0200
OS Version:            Mac OS X 10.11.1 (15B42)
Report Version:        11
Anonymous UUID:        1D595AE9-1386-B77C-B735-B95FDF365C80


Time Awake Since Boot: 6400 seconds

System Integrity Protection: enabled

Crashed Thread:        22  Dispatch queue: com.apple.authkit.xpc.reply

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
ProductBuildVersion: 7B1005
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-9073/DVTFoundation/Portal/DVTDeveloperAccountCredentials.m:178
Details:  (token) should not be nil.
Object:   <DVTDeveloperAccountCredentials>
Method:   +accountCredentialsFromUsername:alternateDSID:token:keychain:successfullyPersisted:error:
Thread:   <NSThread: 0x7f88f1a32320>{number = 27, name = (null)}
Hints:   None
Backtrace:
  0  0x0000000104581d56 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1  0x0000000103113768 _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010311397f _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x00000001030be456 +[DVTDeveloperAccountCredentials accountCredentialsFromUsername:alternateDSID:token:keychain:successfullyPersisted:error:] (in DVTFoundation)
  4  0x00000001049ca317 -[IDENewDeveloperAccountSheetWindowController addAccountFromAuthKitResponse:] (in IDEKit)
  5  0x00000001049ca083 -[IDENewDeveloperAccountSheetWindowController handleAuthKitResponse:error:] (in IDEKit)
  6  0x00000001049c9eec __88-[IDENewDeveloperAccountSheetWindowController beginSheetModalForWindow:completionBlock:]_block_invoke_229 (in IDEKit)
  7  0x00007fff947248f5 _dispatch_call_block_and_release (in libdispatch.dylib)
  8  0x00007fff947193c3 _dispatch_client_callout (in libdispatch.dylib)
  9  0x00007fff9472bbd6 _dispatch_async_redirect_invoke (in libdispatch.dylib)
 10  0x00007fff947193c3 _dispatch_client_callout (in libdispatch.dylib)
 11  0x00007fff9471d253 _dispatch_root_queue_drain (in libdispatch.dylib)
 12  0x00007fff9471cab8 _dispatch_worker_thread3 (in libdispatch.dylib)
 13  0x00007fff8a7c44f2 _pthread_wqthread (in libsystem_pthread.dylib)
 14  0x00007fff8a7c2375 start_wqthread (in libsystem_pthread.dylib)

abort() called

Application Specific Signatures:
((token)) != nil

【问题讨论】:

  • 这是假设检查一次详细信息:(令牌)不应为零。
  • 是的,但我正在输入用户名和密码

标签: ios xcode macos crash


【解决方案1】:

这可能听起来很奇怪,但下面对我有用

设备:Imac

每次我尝试添加帐户时 Xcode 使用都会崩溃。它可能已经发生了大约 15-20 次。当我点击 Xcode - 首选项时,同样的事情发生了。

我通过 C 型适配器连接了辅助显示器。我删除了这个适配器。 然后就成功了。

已编辑:似乎辅助监视器有时可能是个问题。断开辅助监视器或将 Xcode 应用程序移至主监视器,然后将打开所需的弹出窗口。

错误信息是

窗口已被标记为需要另一个显示窗口通道,但是 它已经有更多的显示窗口通道比有视图 窗户

【讨论】:

    【解决方案2】:

    问题解决了,他们的服务器似乎有起有落,所以你只需要发送崩溃报告,然后坐下来等待,希望最好。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-27
      • 2017-01-27
      • 2019-09-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多