Only old calendars appearing in iTunes #
This post is for the scattered few who still sync calendars between their Mac and iOS device via USB, and find deleted calendars appearing in iTunes, despite those calendars not appearing in iCal / Calendar. Backup before proceeding. The iOS calendar(s) will be overwritten.
- Disregarding the absence of desired calendars or presence of undesired calendars within iTunes, select Sync Calendars > All calendars, check "Replace information on this iPhone" next to Calendars, sync, then quit iTunes.
- Open iCal/Calendar on the Mac and delete any unwanted calendars that appeared after syncing (yes, despite having selected to overwrite the iOS device, old, deleted calendars may reappear).
- Even if you've never used it, open Reminders.app on the Mac and delete any old, unwanted calendars.
- Open iTunes and head back to Info > Sync Calendars - only current calendars should appear.
Similar reports
Related
- These steps from Linc Davis restored calendar syncing via USB under Mojave:
- Backup your calendars
- Quit Calendar/iCal
- Move or delete the following 3 files from ~/Library/Calendars/:
- Calendar Cache
- Calendar Cache-shm
- Calendar Cache-wal
- Restart Mac
- If that does not avail, Linc also mentions these potential culprits:
- Containers/com.apple.CalendarAgent (and any others with a name beginning in "com.apple.Calendar")
- Containers/com.apple.iCal (and any others with a name beginning in "com.apple.iCal")
- Preferences/com.apple.CalendarAgent.plist
- Preferences/com.apple.iCal.plist
- How To Reset Sync Services
- OS X Mavericks 10.9.3 and later: run
defaults delete com.apple.SyncServer SyncServicesResetWorldRunOnce
and reboot
- Earlier versions: run
/System/Library/Frameworks/SyncServices.framework/Versions/A/Resources/resetsync.pl full
- How To Reset Calendar, iTunes USB Sync suggests these steps for Mountain Lion:
- Delete ~/Library/Calendars/Calendar Cache and ~/Library/Caches/com.apple.iCal (if present) then sync. If unsuccessful, try:
- Delete ~/Library/Preferences/com.apple.iCal.plist and ~/Library/Preferences/com.apple.iCal.helper.plist then sync. If unsuccessful, try:
/System/Library/Frameworks/SyncServices.framework/Versions/A/Resources/resetsync.pl full
- いつの間にか iCal と iPhone5 が同期できなくなってた。 describes a scenario in which events from an iPhone do not get written to iCal on a Mac during syncing, though events from iCal, music, photos, etc on the Mac do get written to the iPhone. The author resolved the issue by:
cd ~/Library/Application\ Support/SyncServices/
rm -r Local.*
cd Local
mv conflicts _conflicts_
Keep in mind Apple's official guidance: "As if it were a swarm of bees, you should stay away from the SyncServices folder. Removing or modifying anything in the SyncServices folder--or in any subfolders within it--may cause unexpected issues. (This folder is located in your Application Support folder, in your Library folder, in your Home folder)." However, renaming or deleting the SyncServices folder has reportedly worked for some:
- Disconnect iOS device
- Restart computer
- Rename or delete the SyncServices folder
- Archiving Calendar.app events as plain text
Update
In January of 2023, bidirectional calendar sync over USB stopped working between an iPhone SE (3rd generation) running iOS 16.2 and a MacBook Air (M2, 2022) running macOS 13.1; only unidirectional overwriting of the iPhone by the MacBook via Finder → iPhone → Info → "Replace Calendars" would work.
None of the above approaches nor a number of others (resetting network settings on the iPhone, erasing and restoring the iPhone, deleting the contents of ~/Library/Calendars/Pending\ Events/ (or, indeed, the entire contents of ~/Library/Calendars as suggested by Apple support), etc.) availed.
Despite the iPhone syncing normally with another Mac running the same version of macOS (and slightly better under a new user account on the affected MacBook Air - only new events would sync bidirectionally), the fix was ultimately to wait for then install iOS 16.3 and macOS 13.2 (thanks Dmitry!).
The updates also brought an end to the SyncServer (/System/Library/Frameworks/SyncServices.framework/Versions/A/Resources/SyncServer.app/Contents/MacOS/SyncServer) and Mingler (/System/Library/Frameworks/SyncServices.framework/Versions/A/Resources/SyncServer.app/Contents/Resources/Mingler) crash reports in Console ("EXC_BAD_ACCESS (SIGBUS)" and "EXC_GUARD (SIGKILL)", respectively).
/mac | Apr 08, 2018
Subscribe or visit the archives.