Music library sync error since macOS Big Sur 11.3 (20E232) «The iPhone "iPhone name" could not be synced because the sync session failed to finish»
Hi all!
This is a slightly unusual request on this forum about the annoying error of synchronizing the media library with the iPhone «The iPhone "iPhone name" could not be synced because the sync session failed to finish». After reading almost all similar questions on discussions.apple.com I realize that I can give much more detail on this issue.
Briefly:
This error appeared with version macOS Big Sur 11.3 (20E232) and still persists on Ventura 13.6.1 even after completely reinstalling macOS, rebuilding my media library on it from scratch, and trying to synchronize to a completely reset iPhone, both via cable and via WiFi:
There is a chance of success, approximately 1 in 20-30 attempts. But even if successful, the library is not displayed correctly on the iPhone: about half of the album covers are missing, tracks are shuffled between albums, transferred or duplicated to the "Unknown Album", and even the covers are mixed up. This problem can sometimes affect more than half of the entire media library! After each complete deletion and then sync of the media, this has a completely different scale and each time it happens with different artists and albums. In rare cases, the problem affects only a couple of albums:
However, the previous version of Big Sur 11.2.3 (20D91) does not have any of the listed problems:
I tested this both with and without installing the update to connect to the iPhone
I reinstalled this version, then the next Big Sur 11.3 (20E232), as well as several other neighboring earlier and later ones from scratch several times to confirm the version with which this error appeared:
Of course, this was also tested with installation, and without installing the update for connecting to iPhone.
I spent 2 weeks on these tests, and I’m sure that the reason is changes in OS components responsible for sync, for example in AMPDeviceAgent, which were changed in the Big Sur 11.3 (20E232) update. I also attach a log of the sync process from the console of the sync process from the console for MacBook and iPhone. Here are a couple of screenshots with examples of errors from the macOS console:
And also a small annoying problem: horizontal scrolling of covers in the track information in the Cover tab does not work if several covers have been added. This problem starting from macOS Catalina 10.15.4 (19E266) and is still present! I tested this using the same method with reinstalling this and the previous version of macOS from scratch:
Some details and what I tried
I currently have a MacBook Pro 15" 2017, with the latest available Ventura 13.6.1, which does not support Sonoma, and an iPhone 7 plus with the latest available iOS 15.8.
After sync starts (automatically or manually by pressing the Sync button), 4 of 4 steps go through, but at the last 4th step the process gets stuck for about 2-5 minutes.
Then it gives the same error, without any details.
An interesting detail was noticed: approximately in the middle of this stuck on step 4 of 4, the sync icon near the Wi-Fi icon disappears on the iPhone
as if sync had stopped, but the network activity monitor (when a sync attempt occurs via Wi-Fi) shows that data exchange continues and stops a couple of seconds before the error message.
During normal sync without errors, the sync icon on the iPhone does not disappear, and on macOS some kind of progress bar quickly fills up
and then the sync process itself begins
Only music is included in the sync settings.
What I tried:
Of course, as simple as rebooting both devices, trying a different cable (of course, you'll definitely be advised to try this, right?), ejecting the iPhone from the Finder in the sidebar, deleting the entire media library on the iPhone, deleting and reinstalling the Music app on the iPhone. And of course, I checked the relevance of both OS before the release of macOS Sonoma and iOS 16. Yes, now my devices are outdated and receive only minor updates, the relevance of which I also check in the hope that one of them will solve this problem. I think they really deserve this minor update.
Also I tried more complex methods:
1. I tried a complete reinstallation of the actual Ventura 13.6.1 available for my MacBook. Also, at the same time, I reset the iPhone to factory settings, and then creating a library on it from scratch.
2. Sync only some artists from the entire library to identify those who may have problematic tracks. And here I saw that the problem was floating. Successful sync could occur with the entire library once every 20-30 attempts, but it could fail even if only one artist was selected, which I am sure does not have problematic tracks. In general, the success rate increases slightly if fewer artists are selected, but there was no artist that never caused this error.
MacBook Pro 15″