How to connect the Line 6 PODxt to GarageBand

I have a Line 6 PODxt guitar rig sitting on my music rack for years. I’ve had some very limited success connecting it to GarageBand when Mac OS X 10.5 was first released. Sometimes it worked but most of the time it wouldn’t record a thing in GarageBand. As this got a bit frustrating I just …