Xcode preferences -> accounts not saved

女生的网名这么多〃 提交于 2019-12-23 22:10:08

问题


Generally in Xcode we can save different apple accounts in preferences. It was working before in previously all versions.

Last week I have updated Xcode and installed Xcode version 10.0 And then I have added 3-4 Apple IDs :

Xcode -> Preferences -> Accounts

But next day when I open Xcode, all accounts are gone.

I have tried many times, but same thing happened everytime next day I found blank in

Xcode -> Preferences -> Accounts

Seems that Xcode 10 can't keep apple accounts saved in preferences.

  • What's the problem ?

  • Is it Xcode bug ?

  • Need to do any extra setup for this ?


回答1:


Xcode uses Keychain Access Groups to store your Apple ID credentials in the keychain. I could fixed this problem by setting a user default.

First I deleted all accounts in Xcode and Xcode App, and then used below command in Terminal:

defaults write com.apple.dt.Xcode DVTDeveloperAccountUseKeychainService -bool NO

Finally, I installed Xcode app again.

Before deleting Xcode, try to change a user default of DVTDeveloperAccountUseKeychainService.



来源:https://stackoverflow.com/questions/52758725/xcode-preferences-accounts-not-saved

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!