I didn’t yet test this on JUCE6 but with latest JUCE5 if you enable VST2 hosting (assuming you have the SDK). Building iOS would fail (macOS/Windows/Linux would work of course).
Projucer it self don’t add the path (I guess it would compile with the VST2 enabled). but since this isn’t intentional or would be useful. I’ve removed this possible deadcode from iOS entirely.
Feel free to do similar commit to JUCE mainline repo.