# Supporting VST2 hosting while building iOS

**URL:** <https://forum.juce.com/t/supporting-vst2-hosting-while-building-ios/40913>\
**Category:** MacOSX and iOS\
**Created:** [July 26, 2020, 9:46am UTC](https://forum.juce.com/t/supporting-vst2-hosting-while-building-ios/40913 "2020-07-26T09:46:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttg](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ttg/32/14456_2.png) [@ttg](https://forum.juce.com/u/ttg)\
**Post date:** [July 26, 2020, 9:46am UTC](https://forum.juce.com/t/supporting-vst2-hosting-while-building-ios/40913/1 "2020-07-26T09:46:14Z")

</div>

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.

> <https://github.com/soundradix/JUCE/commit/c86fc429bde62033f0006932b7ae4b666bf6401e>

---

<div class="post-metadata">

**Author:** ![matkatmusic](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@matkatmusic](https://forum.juce.com/u/matkatmusic)\
**Post date:** [July 27, 2020, 8:19pm UTC](https://forum.juce.com/t/supporting-vst2-hosting-while-building-ios/40913/2 "2020-07-27T20:19:21Z")

</div>

Wait, we can host/load AU/VST3/VST2 on iOS???

---

<div class="post-metadata">

**Author:** ![ttg](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ttg/32/14456_2.png) [@ttg](https://forum.juce.com/u/ttg)\
**Post date:** [July 27, 2020, 8:43pm UTC](https://forum.juce.com/t/supporting-vst2-hosting-while-building-ios/40913/3 "2020-07-27T20:43:06Z")

</div>

iOS allowed and can host AUv3.  
You can try the JUCE AudioPluginHost.

But the patch above just allows making juce projects supporting VST2 on supported platforms while still allowing iOS hosting to compile
