Apple Intelligence now features Image Playground, Genmoji, Writing Tools enhancements, seamless support for ChatGPT, and visual intelligence.

Apple Intelligence has also begun language expansion with localized English support for Australia, Canada, Ireland, New Zealand, South Africa, and the U.K. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

📰 Newsroom Update

Apple Music expands live global radio offering with three brand-new stations. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

An unknown error occurred (-54)

When I try to sync my iPhone 6S, I am getting the following error message.

{ Attempting to copy to the disk "Macintosh HD" failed. An unknown error occurred (-54). }


Please help me resolve this problem.

MacBook Pro (Retina, 13-inch, Late 2013), OS X Mavericks (10.9.2)

Posted on Mar 20, 2018 4:00 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 21, 2018 3:21 PM

If you see error -54 when you sync with iTunes https://support.apple.com/en-us/HT205597 This can happen if a file on your computer or iOS device is locked.


From an OS9 reference, error -54 is a software lock on a file or a permissions error. (Although there is no formal list of OSX error code some of the old codes still apply to OSX .)


First, try simply restarting your computer.


Try quitting iTunes, then deleting the .xml (not .itl !) version of the library file in the iTunes folder (iTunes will generate a new one).


iTunes Library cannot be saved (Error -54) - https://discussions.apple.com/thread/1912814 - various things to try.


Unknown error (-54) while syncing ipod - https://discussions.apple.com/thread/1082953 - problem was locked files


Mar. 2016 LincDavis post: https://discussions.apple.com/thread/7501649?answerId=29951885022#29951885022


Why does iTunes keep showing a -54 error when I sync my iPad? - https://discussions.apple.com/thread/3727114


Apr. 2016 Unknown Sync error occurred (-54) - https://discussions.apple.com/thread/7245433 - Problem was iBooks

4 replies
Question marked as Top-ranking reply

Mar 21, 2018 3:21 PM in response to jj2986

If you see error -54 when you sync with iTunes https://support.apple.com/en-us/HT205597 This can happen if a file on your computer or iOS device is locked.


From an OS9 reference, error -54 is a software lock on a file or a permissions error. (Although there is no formal list of OSX error code some of the old codes still apply to OSX .)


First, try simply restarting your computer.


Try quitting iTunes, then deleting the .xml (not .itl !) version of the library file in the iTunes folder (iTunes will generate a new one).


iTunes Library cannot be saved (Error -54) - https://discussions.apple.com/thread/1912814 - various things to try.


Unknown error (-54) while syncing ipod - https://discussions.apple.com/thread/1082953 - problem was locked files


Mar. 2016 LincDavis post: https://discussions.apple.com/thread/7501649?answerId=29951885022#29951885022


Why does iTunes keep showing a -54 error when I sync my iPad? - https://discussions.apple.com/thread/3727114


Apr. 2016 Unknown Sync error occurred (-54) - https://discussions.apple.com/thread/7245433 - Problem was iBooks

An unknown error occurred (-54)

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