# FR: Auto-Set Deployment Target to 10.8 for AUv3

**URL:** <https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491>\
**Category:** The Projucer\
**Created:** [April 26, 2016, 8:32am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491 "2016-04-26T08:32:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jorasan](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jorasan](https://forum.juce.com/u/jorasan)\
**Post date:** [April 26, 2016, 8:32am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491/1 "2016-04-26T08:32:37Z")

</div>

The feature request is getting Projucer to set deployment target to 10.8 for AU3 Xcode projects in case a lower one is set for the rest (i.e.- 10.6 for AU/VST). Thanks.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [April 26, 2016, 8:52am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491/2 "2016-04-26T08:52:59Z")

</div>

I think we added a warning in the code itself to tell you when that happens, but TBH I’d rather leave this up to the user to do rather than changing it automatically.

---

<div class="post-metadata">

**Author:** ![timur](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/timur/32/541_2.png) [@timur](https://forum.juce.com/u/timur)\
**Post date:** [April 26, 2016, 9:06am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491/3 "2016-04-26T09:06:23Z")

</div>

Yes. If you try to build AUv3 with deployment target \< 10.8, you should get a _compiler error_ in Xcode that tells you exactly what went wrong.

---

<div class="post-metadata">

**Author:** ![jorasan](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jorasan](https://forum.juce.com/u/jorasan)\
**Post date:** [April 26, 2016, 9:19am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491/4 "2016-04-26T09:19:09Z")

</div>

Thanks for the fast replies. Yes, there is a compiler error indeed. I’d find more convenient for the coder to set 10.8 automatically with AUv3 for plug-ins able to run below and avoid having to change the Deployment Target every time the project gets saved.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [April 26, 2016, 9:29am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491/5 "2016-04-26T09:29:06Z")

</div>

You don’t need to change it every time! Just change it yourself in the Projucer.

---

<div class="post-metadata">

**Author:** ![kunitoki](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/kunitoki/32/15_2.png) [@kunitoki](https://forum.juce.com/u/kunitoki)\
**Post date:** [April 26, 2016, 9:37am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491/6 "2016-04-26T09:37:21Z")

</div>

I think he mentions the fact of building AU2 and VST with 10.7 while still having the AU3 enabled in the Projucer. I already raised this before.

---

<div class="post-metadata">

**Author:** ![jorasan](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jorasan](https://forum.juce.com/u/jorasan)\
**Post date:** [April 26, 2016, 9:39am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491/7 "2016-04-26T09:39:21Z")

</div>

Yep, exactly what kraken said 🙂

---

<div class="post-metadata">

**Author:** ![timur](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/timur/32/541_2.png) [@timur](https://forum.juce.com/u/timur)\
**Post date:** [April 26, 2016, 9:42am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491/8 "2016-04-26T09:42:55Z")

</div>

Well yes, I agree that’d be awesome. Unfortunately, as I already explained before, that wouldn’t work, because you can’t build the same binary with different deployment targets at the same time. And most of the plug-in is the same binary that is getting statically linked into the different plug-in wrappers. So the deployment target setting has to be the same _for the whole project_.

I guess it’s possible to build a system where you could set deployment target per plug-in format, and then the shared code part would be intelligently re-compiled as needed, but that’d be quite complex to do unfortunately… maybe it will happen one day if we have a bigger team 😉

---

<div class="post-metadata">

**Author:** ![jorasan](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@jorasan](https://forum.juce.com/u/jorasan)\
**Post date:** [April 26, 2016, 9:56am UTC](https://forum.juce.com/t/fr-auto-set-deployment-target-to-10-8-for-auv3/17491/9 "2016-04-26T09:56:10Z")

</div>

Understood, thanks!
