VST3 (midi) and JUCE

Hi there,
I am having an issue with VST3 also.
I can’t seem to build VST2 plugins anymore there are build errors in xcode.
I battled with a plugin all day trying to troubleshoot.
After reading this thread I tried it as an .au and it works fine.
It seems like the midi juce classes aren’t doing what they should in VST3
I am just using basic stuff like

MidiBuffer processedMidi;
for(MidiBuffer::Iterator i (midiMessages); i.getNextEvent(m, time);)

Sean