# Cross Compilation from Windows to MacOS

**URL:** <https://iplug2.discourse.group/t/cross-compilation-from-windows-to-macos/259>\
**Category:** Uncategorized\
**Created:** [3 December 2020 11:59 UTC](https://iplug2.discourse.group/t/cross-compilation-from-windows-to-macos/259 "2020-12-03T11:59:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasW](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@ThomasW](https://iplug2.discourse.group/u/ThomasW)\
**Post date:** [3 December 2020 11:59 UTC](https://iplug2.discourse.group/t/cross-compilation-from-windows-to-macos/259/1 "2020-12-03T11:59:19Z")

</div>

Hi there,

I am currently developing on Windows with IPlug1 and thinking about switching to IPlug2. My questions are:

Is it (realistically) possible to cross compile to macOS (VST Plugin) directly from Windows?  
If not, is there any other option to build for macOS without mac hardware? What are the potential problems if one uses IPlug2 in a macOS virtual machine?

All the best, and thank you for your work!  
Thomas

---

<div class="post-metadata">

**Author:** ![olilarkin](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/olilarkin/32/2_2.png) [@olilarkin](https://iplug2.discourse.group/u/olilarkin)\
**Post date:** [3 December 2020 14:03 UTC](https://iplug2.discourse.group/t/cross-compilation-from-windows-to-macos/259/2 "2020-12-03T14:03:16Z")

</div>

You cannot cross compile for macOS on windows. You could use [CI/CD to build for mac in the cloud](https://www.youtube.com/watch?v=Mgtq2sSJT7I&t=1s), however if you are thinking of selling a product you need to be able to test it on macOS. VMs are never great for testing audio stuff

---

<div class="post-metadata">

**Author:** ![ThomasW](https://avatars.discourse-cdn.com/v4/letter/t/f475e1/32.png) [@ThomasW](https://iplug2.discourse.group/u/ThomasW)\
**Post date:** [5 December 2020 10:53 UTC](https://iplug2.discourse.group/t/cross-compilation-from-windows-to-macos/259/3 "2020-12-05T10:53:42Z")

</div>

That looks amazing! I will try it immediately.
