Few days back I added an account in Xcode
preferences which succeeded and I was running the app on device. But today when I opened Xcode
, the account was nowhere to be found. The same happened before as well. At that time I thought there might be some connectivity issue but then I faced it again. Possible reason ?
Asked
Active
Viewed 477 times
2

Nitish
- 13,845
- 28
- 135
- 263
-
Did you try check and uncheck Automatically manage signing – Kamlesh Shingarakhiya May 09 '18 at 12:05
-
@KamleshShingarakhiya : The screenshot is just for showing that account existed before, since it has an identifier. Issue has nothing to relate with the checkbox. On opening the Teams dropdown, then account was missing. – Nitish May 09 '18 at 12:07
-
yesterday I also faced this issue, once i shutdown my system and reopen again , the account's automatically deleted , – Anbu.Karthik May 09 '18 at 12:09
-
Not sure, might be related to https://stackoverflow.com/questions/49871277/xcode-9-3-can-only-remember-one-account-and-shows-unknown-team-name – Vinaykrishnan May 09 '18 at 12:10
-
I also faced same issue with **Xcode 9.3** – Toseef Khilji May 09 '18 at 12:17
-
1I guess Xcode 9.3 has this issue. Need to report this to Apple. – Nitish May 09 '18 at 12:18
-
I have just reported this bug to Apple on Bug Reporter - https://bugreport.apple.com/web/?problemID=40089926 – Nitish May 09 '18 at 12:25
-
i have the same issue in xcode 10.1. PI respond if someone find a way out – TheTravloper Feb 20 '19 at 05:00
-
@Anbu.Karthik did you find the way out? – TheTravloper Feb 20 '19 at 05:05
-
@TheTravloper - I followed the below answer ,its works for me, are you tried. – Anbu.Karthik Feb 20 '19 at 05:07
-
@Anbu.Karthik i tried it but the issues remains same. the below answers have 2 refrences. which one did you actually followed – TheTravloper Feb 20 '19 at 05:18
-
@TheTravloper - follow this link : https://stackoverflow.com/questions/49675844/xcode-9-3-session-expires-every-time-i-close-and-re-open-xcode/49822288#49822288 – Anbu.Karthik Feb 20 '19 at 05:20
-
means to say re - installing xcode might fix this? – TheTravloper Feb 20 '19 at 05:21
1 Answers
4
This is Xcode 9 bug, Many user faces this issue.
Xcode 9.3 now uses Keychain Access Groups to store your Apple ID credentials in the keychain.
You can fix this problem by setting a user default. In Terminal, using below command:
defaults write com.apple.dt.Xcode DVTDeveloperAccountUseKeychainService -bool NO
Ref:

Toseef Khilji
- 17,192
- 12
- 80
- 121