iPhone 6 can't log into iCloud or iTunes with AppleID
Up until recently my old iphone 6 worked fine (version 12.5.5) , but recently it stopped talking to itunes.
I tried everything, so I signed my Apple ID out of the phone and attempted to sign back in again in the hope of fixing the issue.
After putting in my username and password, The screen shows "Signing into iCloud" and then asks to put in my iphone passcode.
After that nothing happens. The spinning flower icons keeps moving, but the sign in never finishes and goes forever.
If I force close the settings app and go into it again, it says that my account has signed in. I then try and turn on iTunes and the App store under my account. It then attempts to sign in showing "Signing in to iTunes & App Store..." but the spinning flower icon keeps spinning forever and nothing happens.
The iphone is connecting over wifi, and the wifi clearly works or visiting webpages on safari would fail. Time and date is set correctly.
I've tried restarting the iphone multiple times to retry this but it seems like Apple's icloud has left this device behind all of a sudden.