xcode - 帐户在 Xcode 9 中消失

标签 xcode apple-id

enter image description here

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

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

最佳答案

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

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

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 没有帮助。问题仍然存在。

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

关于xcode - 帐户在 Xcode 9 中消失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46400744/

相关文章:

iOS 7+ : Unique identifier per device<->Store-ID (user) combination

electron - 用户名不是提供者的成员

ios - 检查公共(public) CloudKit 数据库中记录的所有权

app-store-connect - iTunes Connect错误: “This email address is not available for use as an Apple ID.”

ios - 组合选项卡 View 和分割 View

xcode - 如何在 applescript 中使用 do shell 脚本?

iphone - 我想知道如何创建动态 TableView

ios - 在没有用户交互的情况下恢复 iOS 8 上的应用内购买?

ios - 所有 iOS 配置文件都停留在待处理状态

ios - Swift:与相同颜色的 UIView 相比,UINavigationBar 看起来很轻