帐户在 Xcode 9 中消失 [英] Accounts disappearing in Xcode 9

查看:19
本文介绍了帐户在 Xcode 9 中消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近升级到 Xcode 9.0,但由于某种原因,我的帐户不再存储在帐户"面板中.如果我关闭程序,Xcode 会存储它们,但不会在我重新启动计算机时存储.

I upgraded to Xcode 9.0 recently and for some reason my accounts doesn't get stored in the Accounts panel anymore. Xcode stores them if I close the program, but NOT when I restart the computer.

我想这是一个错误而不是新功能,但是有没有我可以更改的黑客或设置以防止我的帐户消失(除非永远关闭计算机)?

I guess this is a bug and not a new feature, but are there any hacks or settings that I could change to prevent my accounts from disappearing (except from never turn off the computer that is)?

推荐答案

对于那些可能关心的人,我遇到了一个非常相似的错误.在我的情况下,一些帐户消失了,而另一些帐户只是通过请重新登录消息"来取消"身份验证.即使我重新插入凭据,它们也会在我每次退出并重新打开 Xcode 时消失.

For the ones who may concern I've experienced a quite similar bug. In my case, some accounts disappeared and some others just "loose" the authentication with a "please relogin message". Even if I re-insert the credentials they disappear every time I quit and reopen Xcode.

检查 Console.app,我注意到问题似乎与关于 Xcode 内部工具的未签名"二进制文件有关:

Inspecting Console.app, I noticed that the problem seems related to a "not signed" binary regarding Xcode internal tools:

com.apple.dt.Xcode.KeychainService (DVTFoundation)
Subsystem: -- Category: -- 

DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-14154/IDEFoundation/Provisioning/KeychainService/main.m:59
Details:  Connecting process is not Apple-signed (Error Domain=DVTSecErrorDomain Code=-67050 "code failed to satisfy specified code requirement(s)" UserInfo={NSLocalizedDescription=code failed to satisfy specified code requirement(s)})
Object:   <IDEKeychainServiceDelegate: 0x7f9e93404000>
Method:   -_shouldAcceptConnectionFromPID:error:
Thread:   <NSThread: 0x7f9e93403290>{number = 2, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

重新安装一个完全干净的 macOS 10.13.4 和 Xcode 9.3 没有帮助.问题仍然存在.

Reinstalling a complete clean macOS 10.13.4 and Xcode 9.3 was not helpfull. The problem was still there.

在为这个错误苦苦挣扎后,我发现在启动先前版本的 Xcode 9.2 并在此版本上配置 AppleID 后,即使使用 Xcode 9.3 也能正常工作.现在 AppleID 显示正确配置且正常工作,没有任何问题.

After struggling a lot with this bug, I found that after launching the previous version of Xcode 9.2 and configured the AppleIDs on this version results in a working one even with Xcode 9.3. Now AppleIDs appear correctly configured and working without any issues.

这篇关于帐户在 Xcode 9 中消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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