Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I made the investigation I mentioned in my comments thus I'm writing a real answer now.</p> <p>I confirmed my suspicions. In case you don't have the issue with 32/64 bits build mode (like others said), you may well have the same issue as I had.</p> <p>GarageBand and Mainstage (presumably others) don't read the keys of the <code>AudioComponents</code> key of the bundle's plist. They only read the deprecated crappy Carbon resources.</p> <p>I have a proof of this (at least on my system: Lion, GarageBand 6.0.5):</p> <ul> <li>most of the AU I've downloaded only provides Carbon resources and don't have <code>AudioComponents</code> key in their plist (because it was the way to go before Lion and only noob like me ignores this fact)</li> <li>as soon as I properly added the Carbon resources to my unit, it starts appearing in GarageBand and MainStage (youhou!)</li> </ul> <p>If you started your project from a copy of TremoloUnit or some others project Apple provides, you must fix them because their projects are screwed. Obviously, the poor soul who maintains them is as noob as I am about AudioUnit programming, he believed (like I did) that those horrible Carbon <em>things</em> from a dark age must be completely deprecated by now and he unchecked them from the build phase. Since the resulting AU loads fine in <code>AU Lab</code> and validates fines with <code>auval</code> he was happy and committed his work.</p> <p>To fix the project, you must add the Resource source file (the one ending with <code>.r</code>) to the build phase (it is already in the project). If you click on it from the file inspector, XCode will figure itself (from the file extension) that you want to build hideous Carbon Resources. After that, you will certainly have obscure build failures because the <em>Rez search path</em> is wrong. You must also double check that <code>.r</code> file describes the same things as your <code>AudioComponents</code> because Apple's sample project AUPinkNoise was broken on that topic (the 4 letters code of the sub-type had a mismatch between the plist and the .r resource source)</p> <p>Congratulation to Apple to build a validation tool that just ignores how most Apple products currently load AudioUnit. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload