iCloud Account Signing Out

I have several macOS applications that use CloudKit. I need to test and finds out what happens when the user signs out of their iCloud account. That's because the application may lose data after signing out and then signing in again. Every time I do that, it'll take 15, 20 minutes... I don't time it, but it takes quite a gigantic time to sign out as the spinner keeps rolling. Why does it take so long to just sign out? This sign out effect is untestable because it takes a long time to sign out of an iCloud account and then make changes to the code and then test again. In case you need to know, my system version is Sequoia 15.7.

That's indeed pretty long, and is not a normal behavior. Do you have a feedback report yet? If not, would you mind to file one with a sysdiagnose? See here for how to capture a sysdiagnose, if needed.

This isn't an API question, btw. Other than setting up a new system to continue your development, you might try to ask at Apple Support Community.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Hello,

Thank you for your feedback. I actually ended up waiting for the OS to let me sign out for one hour or longer yesterday. I cannot file a feedback right now.

iCloud Account Signing Out
 
 
Q