How to connect my plug-in to Garageband

Are you compiling with Inter-App Audio enabled? See this thread: Announcing Inter-App Audio (IAA) support for standalone plug-ins in JUCE 5