To anyone using Catalina, please check my previous message.
Use "Music" App on your Mac.
Use "Music" App on your Mac.
Thanks, I had the same error, similar experience here, on macOS catalina.
I opened the music ap, it said missing library, I clicked 'create new' , and closed the music app.
Then I was able to access the iphone contents in finder app.