# AAX codesigning

**URL:** <https://forum.juce.com/t/aax-codesigning/36700>\
**Category:** General JUCE discussion\
**Created:** [December 17, 2019, 12:33pm UTC](https://forum.juce.com/t/aax-codesigning/36700 "2019-12-17T12:33:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Achder](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/achder/32/5897_2.png) [@Achder](https://forum.juce.com/u/Achder)\
**Post date:** [December 17, 2019, 12:33pm UTC](https://forum.juce.com/t/aax-codesigning/36700/1 "2019-12-17T12:33:51Z")

</div>

Hi,

I’m trying to build an AAX plugin and I’m unsure about the signing process.  
There already is a lot of pace stuff inside the JUCE compiled AAX. Is it already signed when compiling with JUCE or do I have to get in contact with PACE?  
I can’t really test the plugin in Pro Tools since that is not running on Catalina so far.

Best  
Thomas

---

<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:** [December 17, 2019, 12:59pm UTC](https://forum.juce.com/t/aax-codesigning/36700/2 "2019-12-17T12:59:31Z")

</div>

> [@Achder](#):
>
> Is it already signed when compiling with JUCE or do I have to get in contact with PACE?

JUCE will only take care of building, the signing step is completely separate.

You have to get in touch with PACE. They will provide you with their bespoke signing tool (wraptool), and it will use your certificate to sign (either the Apple Dev cert or any certificate, that is accepted by their/ProTools CA.

For development, AVID provides a debug build, that allows to run unsigned plugins, if you are in the development programme.

I am just telling the common knowledge, the details might be covered under NDA, so sorry for not answering in more detail.

---

<div class="post-metadata">

**Author:** ![Achder](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/achder/32/5897_2.png) [@Achder](https://forum.juce.com/u/Achder)\
**Post date:** [December 18, 2019, 10:49am UTC](https://forum.juce.com/t/aax-codesigning/36700/3 "2019-12-18T10:49:54Z")

</div>

Ok, thanks for the info. I contacted PACE.

The problem is, that our plugin won’t load and I’m afraid it’s because I need to package a bunch of dylibs into the plugin (at least that’s what I’m doing with AU and VST). Can anybody elaborate on what the \_\_Pace\_Eden.bundle and \_CodeSignature folder are doing? Am I invalidating the plugin by copying stuff into it?

---

<div class="post-metadata">

**Author:** ![Verbonaut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/verbonaut/32/11824_2.png) [@Verbonaut](https://forum.juce.com/u/Verbonaut)\
**Post date:** [December 18, 2019, 11:42am UTC](https://forum.juce.com/t/aax-codesigning/36700/4 "2019-12-18T11:42:57Z")

</div>

You’ll break the signature of the bundle by changing its contents after it’s been signed. Signing has to be the last thing you do.

---

<div class="post-metadata">

**Author:** ![Achder](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/achder/32/5897_2.png) [@Achder](https://forum.juce.com/u/Achder)\
**Post date:** [December 18, 2019, 12:01pm UTC](https://forum.juce.com/t/aax-codesigning/36700/5 "2019-12-18T12:01:37Z")

</div>

Yes I know. What I am unclear about is if the existsing signature has any influence when using the development build. Like Daniel said, I thought I need to do the PACE signing separately. But obviously some signing is already done by JUCE. I’m wondering if these are two separate signing steps and if the signing done by the JUCE build is integral also for the dev build of Pro Tools.

Either way does anybody know any methods of debugging AAX loading issues? I’m not sure this is acutally a problem with signing. All I get is “the plugin failed to load because it is not a valid 64-bit AAX plugin” and I don’t know exactly where the problem is.

---

<div class="post-metadata">

**Author:** ![op414](https://avatars.discourse-cdn.com/v4/letter/o/76d3ee/32.png) [@op414](https://forum.juce.com/u/op414)\
**Post date:** [December 18, 2019, 12:14pm UTC](https://forum.juce.com/t/aax-codesigning/36700/6 "2019-12-18T12:14:20Z")

</div>

You can only have a single \_CodeSignature. The PACE sign tool completely replace any existing signature. This is quite a typical thing to do as anyway Xcode 11 will always sign binaries.

---

<div class="post-metadata">

**Author:** ![Verbonaut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/verbonaut/32/11824_2.png) [@Verbonaut](https://forum.juce.com/u/Verbonaut)\
**Post date:** [December 18, 2019, 12:17pm UTC](https://forum.juce.com/t/aax-codesigning/36700/7 "2019-12-18T12:17:29Z")

</div>

If you’re not signing with the Pace SDK then you won’t be able to load an AAX plugin unless you use a development build of Pro Tools. That would be the place to start if you have loading issues as it takes signing out of the equation.

I don’t see why you have an existing signature, by default an XCode project you export with Juce doesn’t get signed at all.

Edit: I’m not using XCode 11, so perhaps that’s new.

---

<div class="post-metadata">

**Author:** ![Achder](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/achder/32/5897_2.png) [@Achder](https://forum.juce.com/u/Achder)\
**Post date:** [December 18, 2019, 12:44pm UTC](https://forum.juce.com/t/aax-codesigning/36700/8 "2019-12-18T12:44:54Z")

</div>

Dumb error on my side.  
I just found out, that a plugin with the same name as ours already exists by default in pro tools. And JUCE overwrote parts of that bundle with our plugin but left the signature of the other plugin in there.
