# Enable AAX + XCODE ERROR -- Solved

**URL:** <https://forum.juce.com/t/enable-aax-xcode-error-solved/26910>\
**Category:** MacOSX and iOS\
**Created:** [March 21, 2018, 2:32pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910 "2018-03-21T14:32:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![MIA-LABORATORIES](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MIA-LABORATORIES](https://forum.juce.com/u/MIA-LABORATORIES)\
**Post date:** [March 21, 2018, 2:32pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/1 "2018-03-21T14:32:06Z")

</div>

Hello felow Jucers,  
I am facing this weird issue: 👻  
I open the JuceDemoPlugin example in Juce 5.2.1 , i save and open in Xcode (9.2) and i successfully build VST AdioUnit and VST3 😃  
then i Enable the AAX build, save and open in Xcode and i get Juce modules related errors, and this does not make sense… 😡😡😡  
Am i doing something wrong?

 ![18](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/c/c4a52b57d63e384cdb6a12f1da2d972a33a915f3.png)

![58](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/e/e2647737e52d80f416c9021ff7e210a91ad286cb.png)

if i disable the AAX it builds successfully again …

any ideas?

---

<div class="post-metadata">

**Author:** ![tadnicol](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/tadnicol/32/5141_2.png) [@tadnicol](https://forum.juce.com/u/tadnicol)\
**Post date:** [March 21, 2018, 9:07pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/2 "2018-03-21T21:07:55Z")

</div>

Do you have the AAX SDK installed? This SDK isn’t publicly available. You have to contact Avid and go through a process to obtain their developer SDKs. [Where is aax sdk?](https://forum.juce.com/t/where-is-aax-sdk/21048)

---

<div class="post-metadata">

**Author:** ![MIA-LABORATORIES](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MIA-LABORATORIES](https://forum.juce.com/u/MIA-LABORATORIES)\
**Post date:** [March 21, 2018, 9:42pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/3 "2018-03-21T21:42:27Z")

</div>

i have installed and build the AAX SDK debug and release build. i have build aax 3 weeks ago without a problem… that is why is very weird… ![Untitled](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/9/988a6d292ee16e440cbe45c9a262bd49b6712866.png)

---

<div class="post-metadata">

**Author:** ![railjonrogut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/railjonrogut/32/505_2.png) [@railjonrogut](https://forum.juce.com/u/railjonrogut)\
**Post date:** [March 21, 2018, 9:47pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/4 "2018-03-21T21:47:14Z")

</div>

What’s the _Header Search Paths_ in the Xcode project?

Rail

---

<div class="post-metadata">

**Author:** ![MIA-LABORATORIES](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MIA-LABORATORIES](https://forum.juce.com/u/MIA-LABORATORIES)\
**Post date:** [March 21, 2018, 10:35pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/5 "2018-03-21T22:35:35Z")

</div>

is it possible the header search paths to be correct for vst standalone and audio unit and to be wrong when i enable the aax ?

---

<div class="post-metadata">

**Author:** ![railjonrogut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/railjonrogut/32/505_2.png) [@railjonrogut](https://forum.juce.com/u/railjonrogut)\
**Post date:** [March 21, 2018, 10:57pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/6 "2018-03-21T22:57:10Z")

</div>

Absolutely. Each project in the solution has it’s own Build Settings

Rail

---

<div class="post-metadata">

**Author:** ![MIA-LABORATORIES](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MIA-LABORATORIES](https://forum.juce.com/u/MIA-LABORATORIES)\
**Post date:** [March 22, 2018, 11:51am UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/7 "2018-03-22T11:51:57Z")

</div>

that is really strange… i cannot spot any difference between the vst au and aax build settings  
what is more strange is that if i disable the AAX from juce everything is fine…  
any ideas?

 ![16](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/d/d1181bfe56eb227d56f7bff792929c10faf32720.png)

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [March 22, 2018, 1:27pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/8 "2018-03-22T13:27:44Z")

</div>

These Header Search Paths don’t look very good.  
`../../JuceLibraryCode` is totally fine, but the rest is weird.

Did you really put a folder named `SDK'S` directly at the root of your file system? Or is it actually in your user folder? (i.e. `~/SDK'S`)

Also, `../../JuceLibraryCode/modules` should be on its own line, not somehow swallowed by `/SDK'S/AAX_SDK_2p3p1/Interfaces/ACF`.

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [March 22, 2018, 1:33pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/9 "2018-03-22T13:33:17Z")

</div>

And if you want to get your build system into edge cases, putting any kind of quotes is definitively the way to go 😉

I understand, that spaces in file names should be handled nowadays (I still avoid them), but I really would try to rename your SDK’s folder to SDKs (it is not even proper grammar, it is only supposed for the possesive case (genitive), not for plural).

Try if that fixes the problem, good luck!

---

<div class="post-metadata">

**Author:** ![MIA-LABORATORIES](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MIA-LABORATORIES](https://forum.juce.com/u/MIA-LABORATORIES)\
**Post date:** [March 22, 2018, 4:23pm UTC](https://forum.juce.com/t/enable-aax-xcode-error-solved/26910/10 "2018-03-22T16:23:13Z")

</div>

yeap, renaming the SDK’s folder and some header changes did the trick 🙂  
many thanks!
