I know you’ve added these lines to avoid defining JUCE_SUPPORT_CARBON in 64 bit builds:
#if ! (defined (JUCE_SUPPORT_CARBON) || JUCE_64BIT)
#define JUCE_SUPPORT_CARBON 1
But I still get an error in the file juce_CarbonVisibility.h when building a 64 bit VST, despite this line at the top of that file:
So it seems the above code doesn’t work or is overridden somewhere.