I posted this before and it got removed.... probably for "advertising" or some crap.... I'm not trying to sell anything, I'm just trying to help. So I'm posting it again in hopes that it makes someone's day
The first thing you need to do (FOR MAC ONLY) is to go here and download this free program (trust me, I'm usually hesitant on downloading stuff, but this program is a life saver!). The download took a total of maybe 10 seconds... user friendly and extremely simple program, as you'll soon find out.
http://www.headlightsoft.com/detune/downloads.html
Once you've successfully installed Tune, run the program! Once you connect your device, it will automatically show what device is connected. You're ready...
Step One: Connect your iPhone to your laptop (USB) - ignore iTunes if it opens, but CANCEL any sync that may occur (if it doesn't; even better!)
Step Two: In DeTune, it should automatically recognize your device (iPhone) and show all of the data in an iTunes-style display. On the left-hand side, you'll see tabs for Music, Podcasts, etc. (JUST LIKE iTUNES) Step Three: THIS STEP IS NOT NECESSARY, but I highly recommend it to keep all of your stuff organized: Create a new folder on your desktop (title it whatever, I used "iPhone Transfers")
Step Four: In DeTune, select everything you want to transfer. DRAG AND DROP it into the folder you made on your desktop... wait for the copying to complete.
Step Five: Stare at the screen in complete awe and amazement as all of your music is now comfortably sitting on your desktop waiting to be imported into your iTunes music library!
My files were in m4a format, so you may not be able to simply drag and drop. Import them into iTunes via FILE ---> ADD TO LIBRARY, then select the files.... Don't know why you can't just drag and drop, but that works just the same.
I hope this helped! I know I was in the same boat for quite a while, and am VERY pleased with this program. I bet my post disappears within a week 😉
Good luck!!!