Yes, it's VERY important to use proper mic'ing techniques.
Sometimes though, it also helps to try alternate positions on the neck to grab the same chord. Also, many players (myself included) try so hard to play with "feel" that we tend to drag our hand a bit too heavy between chord changes, especially on songs with fast changes. Of course, most of that has to do with "muting" certain strings between the changes.
It's possible to do that with less squeak by practicing pulling off the strings at a slightly higher level, while still not sacrificing the ability to mute the "ringing" strings.
It takes just the right amount of "touch".
Often, guitar players tend to play an acoustic the same way that they play their electric guitar, which is more forgiving when it comes to "fret squeak". I've noticed that players who play
acoustic guitar exclusively have a much better handle on eliminating the dreaded "squeaks" during their live performances... more so than electric guitar players who play acoustic sparodically.
When I'm recording acoustic guitar, I'll use one of my guitars that has strings that have more wear on them, as opposed to one with new strings. That helps, too.
Another suggestion to eliminating that dreaded squeak is to use nylon strings like those that are used on a classical guitar.
I've never tried it, but it does sound like an interesting idea.
Especially on a song with multiple
acoustic guitar tracks.
Experimantation is one of the best parts of recording.