UPDATE 5: I update my Mac to 12.3.1 nothing changed.
I did some research and apart from the solution of doing a complete reinstall of macOS, which does not necessarily solve the problem in the long term, I did not find much.
At the moment there is just this post, on macOS Catalina, which partially similar to the problems I have : https://discussions.apple.com/thread/250731084
Post
Replies
Boosts
Views
Activity
UPDATE 4: I tried to leave the Mac open to avoid having to identify myself on the different services I use on a daily basis. When it's not Apple applications it holds. But when it's Apple apps like Xcode and Mail every morning I have to login again. I tried to deactivate iCloud but even by not selecting anything that is related to iCloud it does not change anything.
Working in these conditions is really very restrictive. The resulting user experience is deplorable.
UPDATE 3: The problem with iCloud returned.
Changing my Apple ID password doesn't seem to have any effect. Every time I restart the mac and log in, iCloud asks me to log in like it's the first time.
Mail no longer has the password for my email account.
Added to this is the verification of Xcode as well as other applications. Xcode keeps asking me to install components like it's the first time.
On Xcode I also have to reconnect to my gitlab and github accounts.
This is really hell!!! It's a nightmare !!!
UPDATE 2: I managed to install macOS 12.3 but since each time when I connect to my account Spotlight does a reindexing and a verification of Xcode is launched at least once or even several times.
Spotlight indexing
Xcode verifying
UPDATE 1: In order for the mac to stop asking me to update the setting for iCloud services, I had to change the password of my Apple ID. I'll wait a bit before trying to update again on macOS 12.3. I have settings that skipped for example github and gitlab accounts with Xcode. There may be others, I'll have to check.
Same issu with Xcode 12.5 with SwiftUI application for @State and @Published properties
replace "******" by "range"