​​ ​

The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


ERROR CODE -54

Trying to delete my iTunes library from my iPhone 8+ and pc running windows 7. I’ve deleted my tunes on the pc, but can’t delete the songs on the iTunes page when my phone is connected. I get the message cannot sync iPhone, error code -54

Both pc and phone are running up to date versions. I’ve tried 2 new data cables and tested both USB ports.

All the tunes are greyed out and have a dotted circle to the left of the tick next to each tune. I can select one or all the songs and hit delete, but nothing. My iPhone Music setting has ‘sync library toggled on, then I tried it off.

Any help would be much appreciated


Posted on Oct 19, 2022 6:42 AM

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

ERROR CODE -54

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.