iOS Simulator - Can't log in with iCloud

IosIos SimulatorIcloud

Ios Problem Overview


I am trying to test the iCloud sync functionality of my app between a (real) device and the simulator, however I can't seem to log into iCloud. When I go to Settings->iCloud and enter my account details, it just gets stuck on 'Verifying'. However if I enter incorrect details, it brings up the invalid password prompt as expected.

Has anyone got a fix for this?

Ios Solutions


Solution 1 - Ios

TL;TR Log into http://www.icloud.com and agree to the terms.

It works. But there are some additional steps needed:

At work I tried with my new apple id: at work [email protected]. At first It didn't work even though I was able to access iOS dev center. I realised that it is required to access to http://www.icloud.com with such Apple ID and agree to the terms. After a few seconds I received a 'Welcome to iCloud' email to my work address and then I went back to the simulator and I successfully logged in.

BTW, for a personal account [email protected] I have for ages and use regularly it worked from the beginning probably because I have agreed to the terms a long time ago.

So not only @icloud.com of @me.com or @mac.com accounts work. All accounts work.

Solution 2 - Ios

  1. Create an Apple ID from appleid.apple.com. You need an email address and a phone number to authenticate.

  2. Login to icloud.com and accept terms and conditions.

  3. Open Simulator, log in with your new Apple ID.

  4. Done.

Solution 3 - Ios

I had the same problem today as I was trying to use iCloud + Core Data in the simulator (iOS 8.0, Mavericks). What I found out is that you should use, in the simulator, your @icloud.com e-mail. If you do that, you are able to login and use some iCloud functionality.

Solution 4 - Ios

This is Perfect Solution, it's 100% working

Create an Apple ID from appleid.apple.com. You need an email address and a phone number to authenticate.

Login to icloud.com and accept terms and conditions.

Open Simulator, log in with your new Apple ID.

Done.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAlex BlundellView Question on Stackoverflow
Solution 1 - Iosnacho4dView Answer on Stackoverflow
Solution 2 - Iosactive_sludgeView Answer on Stackoverflow
Solution 3 - IosFernandoView Answer on Stackoverflow
Solution 4 - IosHARSH PRAJAPATView Answer on Stackoverflow