A lot of the time when an iPhone won't connect to iTunes, there's a software problem preventing your iPhone from connecting to your Mac, such as a corrupt file. By reseting the files in the lockdown folder, we may fix the problem by deleting the file that has become corrupted.

How Do I Reset The iTunes Lockdown Folder?

  1. Quit iTunes on your Mac.
  2. Disconnect all iOS devices currently connected to your Mac.
  3. Open Finder on your Mac.
  4. In the Finder menu at the top your Mac's screen, click Go.
  5. In the Go submenu, click Go To Folder...
  6. Type (or copy and paste) /private/var/db/lockdown/ into the box under Go to the folder: 
  7. Click Go.
  8. Delete all of the files inside the lockdown folder.
  9. After all the files have been deleted, reconnect your iOS device to iTunes.
  10. Make sure you Trust your Mac when you sync your iPhone to iTunes once again.

Pro Tips

If you don't have permission to access the lockdown folder, follow the steps below.
  1. Go to the lockdown folder and click on it with two fingers on your Mac's trackpad (right-clicking with a mouse).
  2. Click Get Info.
  3. In the bottom right-hand corner of the Get Info menu, click on the lock and enter your admin password.
  4. Underneath Sharing & Permissions, change the privilege of of everyone to Read & Write.