iTunes Can't Read Contents of My iPhone: How to Fix
Why would this happen? A big reason is that you have played around with some CYDIA apps, most notably the apps which try to modify the contents of iTunes Database File and corrupts the iTunesDB and iTunesCDB files.
To fix this problem, of course you can factory reset your iPhone and expect to lose any personal data not in your backup. Or you could use the following solutions, which will not put you in the risk of losing any data.
How to Fix "iTunes Can't Read Contents of My iPhone" Issue
As you've already acknowledged that iTunes cannot read the contents of the iPhone 7/7 Plus/6s/6s Plus/6 Plus/6 or other iOS models because the iTunesDB and iTunesCDB files are corrupted, there are two ways to fix it.
Repair Corrupted iTunes Library with Free Tenorshare TunesCare
Tenorshare TunesCare is a free iTunes repair tool with which you can fix the corrupted iTunes/iPhone Library (iTunesDB and iTunesCDB files) with ease. No need to restore your iPhone and this method is totally free.
Install this tool to your PC, and connect iOS device to computer with USB cable.
You can click Fix iTunes Sync Prolems option to start repairing corrupted iTunes library. It takes you around 15 seconds.
After this, you can check to see whether your iOS device is shown in iTunes. If still not, you can click Fix All iTunes Issues to fix the issue. This advanced repair can resolve more iTunes issues.
Delete Corrupted Files Manually
You can also fix iTunes not recognized your device by deleting the corrupted files. This method is more complicated.
- View the files on your iPhone using WinSCP (on Windows) or Cyberduck (on Mac).
Note: WinSCP and Cyberduck are open-source programs which are partly used to transfer data via SSH. Or, put it more straight forward, they allow users to direct access to an iPhone's systems and files. To install WinSCP and Cyberduck, you are required to jailbreak iPhone first. If you don't want jailbreak, use Tenorshare iCareFone to read iPhone contents or backup and restore iPhone.
Navigate to /private/var/mobile/Media/iTunes_Control/iTunes/ and delete the file iTunesDB.
With this done, iTunes won't give you the error message BUT, your music, ringtones, podcasts will still be taking up space on your iPhone but your iPhone won't try to read them and iTunes won't see them. The solution is the next step.
- In WinSCP (or Cyberduck) navigate to /private/var/mobile/Media/iTunes_Control/Music and delete all of the folders in the Music directory.
- Go back one level to /private/var/mobile/Media and go to the Ringtones directory and delete them too.
- Finally, you can close iTunes and open it again, and allow your iPhone to sync again. It should transfer all your music, podcasts, and videos back to your phone.
If the above is too complicated, and you don't know how to properly use WinSCP and Cyberduck, I highly recommend you to use Tenorshare TunesCare to fix your iTunes issue, or you can use Tenorshare iCareFone to view all the contents on iPhone in iOS 10/9/8. Just like iTunes, the Tenorshare iCareFone can be used as iTunes alternative to help you tranfer data to/from computer, backup&restore iOS data, and even more, it can clean up iPhone junk files, fix all iOS stuck and repair iOS system without restoring.