Sub topic 12
Keeping devices in step with iCloud
This chapter assumes you have already added an account in System Settings and know the difference between iCloud, IMAP, and Exchange accounts from the earlier chapters. It explains how iCloud keeps Mail, Calendar, and Contacts the same on every device you own. It also covers what to check when two devices disagree.
What iCloud actually syncs
iCloud holds a server-side copy of your data. Each device keeps a local copy and exchanges changes with that server. No device talks directly to another device. A change made on your Mac goes up to iCloud and then down to your iPhone.
The three apps use iCloud in different ways:
| App | What iCloud stores | Protocol or service in use | Notes |
|---|---|---|---|
| Your `@icloud.com` mailbox, including folders and flags | IMAP | Messages live on the server. Rules and signatures are not part of the mailbox. | |
| Calendar | Calendars, events, reminders lists, and invitation responses | CalDAV | Each calendar belongs to one account. |
| Contacts | Contact cards and groups | CardDAV | Groups sync, but smart groups do not. |
Mail is the one that surprises people. iCloud Mail syncs your messages and mailbox structure, as any IMAP account does. It does not sync your Mail app settings. Rules, smart mailboxes, VIP lists, and signatures stay on the Mac where you created them. If you need the same rule on two Macs, you must create it on both.
Smart groups in Contacts are also local to the Mac. Only ordinary groups reach iCloud. Smart mailboxes in Mail are local too.
Turning sync on for each app
Sync is controlled per account and per app. Open System Settings and select your name, then iCloud. Look for the list of apps that use iCloud.
- Open System Settings and click your Apple Account name at the top of the sidebar.
- Click iCloud.
- Under Saved to iCloud, choose See All if the app you want is not listed.
- Switch Mail, Contacts, and Calendars on or off as needed.
The same switches appear under Internet Accounts. Select the iCloud account there and you will see toggles for Mail, Contacts, Calendars, and other services. They control the same setting, so changing one changes the other.
A few consequences follow from this design:
- If Contacts is off for iCloud, new cards go to another account, or to "On My Mac" if you have no other account.
- Turning a switch off asks whether to keep a copy of the data on the Mac or remove it. Choosing to keep it creates a local-only copy that no longer syncs.
- Turning it back on merges the local data with iCloud. This can create duplicates if both sides held the same people.
How a change travels
When you edit something, the Mac sends the change to iCloud over HTTPS. iCloud stores it, then notifies your other devices through Apple's push service. Each device then fetches the change. This usually takes seconds.
Because iCloud is the central copy, a device that is offline simply catches up when it reconnects. Edits made offline are sent at that point. If two devices change the same item while offline, the version that reaches the server last generally wins. For contacts, a conflict can leave you with the last edit only, so avoid editing the same card on two devices before they have synced.
Checking that sync works
You can confirm that a device is in step without changing anything. A simple test is to make a harmless change and watch for it elsewhere.
- In Calendar, create an event named "Sync test" on an iCloud calendar.
- Wait about 30 seconds.
- Open Calendar on your iPhone or at iCloud.com and look for the event.
- Delete the event and confirm it disappears.
You can also list what Calendar sees on the Mac. This script reads the calendar names and changes nothing:
tell application "Calendar"
get name of every calendar
end tellIf the iCloud calendar you expect is missing from the list, the Mac is not receiving it. The cause is almost always an account setting, not the app.
Choosing a default account
New items go to a default account. If you create events and cards on the Mac but never see them on your phone, the default may be a local account.
- Calendar: choose Calendar > Settings > General and set Default Calendar. A new event goes to this calendar unless you pick another in the event itself.
- Contacts: choose Contacts > Settings > General and set Default Account.
- Mail: the sending account is chosen in the message window, and new mailboxes are created under the account you select in the sidebar.
A calendar or contact stored under On My Mac never syncs. It is easy to create items there by accident. In Calendar, the sidebar groups calendars by account, so you can spot the "On My Mac" heading. You can move an event by dragging it to a calendar under iCloud.
Common problems with iCloud sync
Most problems fall into a small number of groups. Work from the simplest cause to the most complex.
The device is not signed in or the switch is off
Open System Settings, check that your name appears at the top, and confirm the app's iCloud switch is on. A signed-out Mac or a switched-off app explains most "missing data" reports.
The accounts differ between devices
Two devices must use the same Apple Account to share data. A different account on the iPhone means different data. Compare the email address shown under your name on both devices.
The network or Apple service is unavailable
Sync needs a working connection. A captive portal, a VPN, or a firewall that blocks Apple's servers can stop it. Apple publishes a System Status page that lists current outages for iCloud Mail, Calendar, and Contacts. Check it before changing anything on your Mac.
Storage is full
iCloud Mail counts against your iCloud storage. When storage is full, new mail can stop arriving. Check System Settings > your name > iCloud for the storage bar. Free space by deleting large attachments or old mail, or buy more storage.
The data looks stale in one app
Quit and reopen the app first. If an iCloud account still looks wrong, toggle that app's iCloud switch off and on. Choose to keep a copy when you switch it off, so that you do not lose unsynced changes. A later chapter on troubleshooting covers deeper steps.
Edge cases to know
- Deleted items: a deletion syncs like any other change. Deleting a contact on the Mac removes it from every device. Recently deleted items can sometimes be restored from iCloud.com, under Data Recovery in iCloud settings.
- Mixed accounts: if you have iCloud and Exchange, each syncs separately. A contact in Exchange does not move to iCloud on its own.
- Shared calendars: sharing is a feature of the calendar on the server, so sharees see changes through the same sync path.
- Time zones: events sync with a time zone. Travelling with a device set to a different zone can make an event look shifted until you check Calendar > Settings > Advanced > Turn on time zone support.
Exercise
You created a new contact on your Mac, but it does not appear on your iPhone, which uses the same Apple Account. The Contacts switch for iCloud is on for both devices. Name the first setting you check on the Mac, and explain why it could cause this.
Show answer
Check the Default Account in Contacts > Settings > General. If it is set to "On My Mac", the new card is stored locally and never goes to iCloud. Change the default to iCloud and drag the card into the iCloud list so it syncs.
Exercise
You built a smart mailbox and a rule on your Mac. You then set up a second Mac with the same iCloud account. Will the rule and smart mailbox appear there? Explain.
Show answer
No. iCloud Mail syncs messages and mailbox folders, but rules and smart mailboxes are stored locally in the Mail app. You must recreate them on the second Mac.