Does this work for GarageBand on iMac?

Having trouble connecting to iMac GarageBand.

Griffin GuitarConnect Cable for iPhone, iPod and iPad

Griffin GuitarConnect Cable for iPhone, iPod and iPad

Product No Longer Available

No Answers have been submitted