# Totally tearing my hair out trying to get mainstage to find components built with JUCE

**URL:** <https://forum.juce.com/t/totally-tearing-my-hair-out-trying-to-get-mainstage-to-find-components-built-with-juce/56725>\
**Category:** General JUCE discussion\
**Created:** [June 19, 2023, 1:44am UTC](https://forum.juce.com/t/totally-tearing-my-hair-out-trying-to-get-mainstage-to-find-components-built-with-juce/56725 "2023-06-19T01:44:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanwayland](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/seanwayland/32/3192_2.png) [@seanwayland](https://forum.juce.com/u/seanwayland)\
**Post date:** [June 19, 2023, 1:44am UTC](https://forum.juce.com/t/totally-tearing-my-hair-out-trying-to-get-mainstage-to-find-components-built-with-juce/56725/1 "2023-06-19T01:44:34Z")

</div>

Anyone have any tips ?  
Sometimes they appear sometimes not.  
Once they appear they stay there but if I rename and rebuild they are gone and I spend hours trying to make them show up.

 ![Screenshot 2023-06-18 at 9.41.56 PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/1/1a8d38f138abcc6ad6477d9489fa10fd98e4ced0.png)  
 ![Screenshot 2023-06-18 at 9.42.50 PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/b/bf9a5684563ef8d175dc21764e7e427fed46b8c4.png)  
This has consumed hours and hours today.  
Maybe I should be in the apple forums not here. 🚑 🔥 🚒 🧯 🧑‍🚒

Sean 🆘 💁 💀 ☠ 👲

---

<div class="post-metadata">

**Author:** ![rcohen](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rcohen](https://forum.juce.com/u/rcohen)\
**Post date:** [June 19, 2023, 1:52am UTC](https://forum.juce.com/t/totally-tearing-my-hair-out-trying-to-get-mainstage-to-find-components-built-with-juce/56725/2 "2023-06-19T01:52:50Z")

</div>

Have you tried this?

> [@AudioPlugin Host & plugin detection](https://forum.juce.com/t/audioplugin-host-plugin-detection/33952/18):
>
> Now that you mention it, AU needs either a restart or a gentle nudge to find new AUs: killall -9 AudioComponentRegistrar

---

<div class="post-metadata">

**Author:** ![seanwayland](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/seanwayland/32/3192_2.png) [@seanwayland](https://forum.juce.com/u/seanwayland)\
**Post date:** [June 19, 2023, 2:03am UTC](https://forum.juce.com/t/totally-tearing-my-hair-out-trying-to-get-mainstage-to-find-components-built-with-juce/56725/3 "2023-06-19T02:03:15Z")

</div>

I tried that killall command. I also tried dragging the file from the caches folder into the trash. I also tried clicking  
“Full audio unit reset” in Mainstage.  
I have put all other components into the trash so I can scan faster .

I also have this horrible looking command which I run too and I am sure someone will tell me is a terrible idea.

```auto
sudo xattr -rd com.apple.quarantine *.*

```

---

<div class="post-metadata">

**Author:** ![seanwayland](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/seanwayland/32/3192_2.png) [@seanwayland](https://forum.juce.com/u/seanwayland)\
**Post date:** [June 19, 2023, 2:25am UTC](https://forum.juce.com/t/totally-tearing-my-hair-out-trying-to-get-mainstage-to-find-components-built-with-juce/56725/5 "2023-06-19T02:25:22Z")

</div>

![Screenshot 2023-06-18 at 10.23.10 PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/7/71f6e2fd2a41f86a01bb416499ba442b5146e143.png)  
 ![Screenshot 2023-06-18 at 10.23.54 PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/0/0b7b91bd63b503597a1b1ba1787d257c1777f6a9.png)

```auto
Hardware Overview:

  Model Name:	MacBook Air
  Model Identifier:	Mac14,2
  Model Number:	Z15T0005NLL/A
  Chip:	Apple M2
  Total Number of Cores:	8 (4 performance and 4 efficiency)
  Memory:	24 GB
  System Firmware Version:	8419.80.7
  OS Loader Version:	8419.80.7
  Serial Number (system):	XCK2P29KG5
  Hardware UUID:	493211E1-4015-535F-B450-63371CC8416B
  Provisioning UDID:	00008112-0008318026F9401E
  Activation Lock Status:	Enabled

```

![Screenshot 2023-06-18 at 10.24.55 PM](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/a/af73dd850173e6cda2589b6af7eff30ab62f14da.png)

I tried putting copies in both the user library and the root library

mac os 13.2.1 (22D68)

hmm its not being found by auval

```auto
Last login: Sun Jun 18 22:17:33 on console
seanwayland@Air-de-sean ~ % auval -a

    AU Validation Tool
    Version: 1.10.0 
    Copyright 2003-2019, Apple Inc. All Rights Reserved.
    Specify -h (-help) for command options

aufx C5fd Manu - seanwayland.com: waylodelayUD2023
aufx Dzgb Manu - seanwayland.com: waylodelayUD
aufx bpas appl - Apple: AUBandpass
aufx dcmp appl - Apple: AUDynamicsProcessor
aufx dely appl - Apple: AUDelay
aufx dist appl - Apple: AUDistortion
aufx filt appl - Apple: AUFilter
aufx greq appl - Apple: AUGraphicEQ
aufx hpas appl - Apple: AUHipass
aufx hshf appl - Apple: AUHighShelfFilter
aufx lmtr appl - Apple: AUPeakLimiter
aufx lpas appl - Apple: AULowpass
aufx lshf appl - Apple: AULowShelfFilter
aufx mcmp appl - Apple: AUMultibandCompressor
aufx mrev appl - Apple: AUMatrixReverb
aufx nbeq appl - Apple: AUNBandEQ
aufx nsnd appl - Apple: AUNetSend
aufx nutp appl - Apple: AUNewPitch
aufx pmeq appl - Apple: AUParametricEQ
aufx raac appl - Apple: AURoundTripAAC
aufx rogr appl - Apple: AURogerBeep
aufx rvb2 appl - Apple: AUReverb2
aufx sdly appl - Apple: AUSampleDelay
aufx tmpt appl - Apple: AUPitch
aufx vois appl - Apple: AUSoundIsolation
aupn ambi appl - Apple: AUSoundFieldPanner
aupn hrtf appl - Apple: HRTFPanner
aupn sphr appl - Apple: AUSphericalHeadPanner
aupn vbas appl - Apple: AUVectorPanner
aumu Dvxu Manu - JUCE: AUv3SynthPlugin
aumu Ssym Manu - www.Seanwayland.com: waylosynth3 Cannot open component: -10875

aumu Ssym Manu - Seanwayland: Waylosynth3
aumu dls appl - Apple: DLSMusicDevice
aumu msyn appl - Apple: AUMIDISynth
aumu samp appl - Apple: AUSampler
aumx 3dem appl - Apple: AUSpatialMixer
aumx 3dmx appl - Apple: AUMixer3D
aumx mcmx appl - Apple: AUMultiChannelMixer
aumx mspl appl - Apple: AUMultiSplitter
aumx mxmx appl - Apple: AUMatrixMixer
aumx smxr appl - Apple: AUMixer
aufc conv appl - Apple: AUConverter
aufc defr appl - Apple: AUDeferredRenderer
aufc ipto appl - Apple: AUNotQuiteSoSimpleTime
aufc merg appl - Apple: AUMerger
aufc nutp appl - Apple: AUNewTimePitch
aufc splt appl - Apple: AUSplitter
aufc tmpt appl - Apple: AUTimePitch
aufc vari appl - Apple: AUVarispeed
auou ahal appl - Apple: AudioDeviceOutput
auou def appl - Apple: DefaultOutputUnit
auou genr appl - Apple: GenericOutput
auou rioc appl - Apple: AUAudioIO
auou sys appl - Apple: SystemOutputUnit
auou vpio appl - Apple: AUVoiceProcessor
augn afpl appl - Apple: AUAudioFilePlayer
augn nrcv appl - Apple: AUNetReceive
augn sspl appl - Apple: AUScheduledSoundPlayer
augn ttsp appl - Apple: AUSpeechSynthesis
auol tmpt appl - Apple: AUTimePitch
auol vari appl - Apple: AUVarispeed
seanwayland@Air-de-sean ~ % 

```

---

<div class="post-metadata">

**Author:** ![seanwayland](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/seanwayland/32/3192_2.png) [@seanwayland](https://forum.juce.com/u/seanwayland)\
**Post date:** [June 19, 2023, 3:05am UTC](https://forum.juce.com/t/totally-tearing-my-hair-out-trying-to-get-mainstage-to-find-components-built-with-juce/56725/6 "2023-06-19T03:05:10Z")

</div>

Well I think I found the reason why.  
JUCE wasnt complaining about the parameter version hints it was just building the component file.  
I THINK that adding them solved it and made the plugin appear in auval  
ie changing

```auto
    parameters.push_back(std::make_unique<Parameter>(String("filtFM"), String("filtFM"), String(),
                                                     NormalisableRange<float>(0.f, 1.f, 0.0001f, 0.5f),
                                                     0.3f, filtAttackSliderValueToText, filtAttackSliderTextToValue));

```

to this

```auto
parameters.push_back(std::make_unique<Parameter>(ParameterID(String("filtFM"),1)

```

---

<div class="post-metadata">

**Author:** ![rcohen](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rcohen](https://forum.juce.com/u/rcohen)\
**Post date:** [June 19, 2023, 12:16pm UTC](https://forum.juce.com/t/totally-tearing-my-hair-out-trying-to-get-mainstage-to-find-components-built-with-juce/56725/7 "2023-06-19T12:16:02Z")

</div>

Yes, that makes sense. With JUCE 6 based plugins, we used to pass a string as the 1st argument when creating a parameter object. Since JUCE 7 we have been using the ParameterID class. I thought that we had seen a compiler warning while building. Maybe you can see if your compiler warnings could be increased…

---

<div class="post-metadata">

**Author:** ![seanwayland](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/seanwayland/32/3192_2.png) [@seanwayland](https://forum.juce.com/u/seanwayland)\
**Post date:** [June 19, 2023, 4:19pm UTC](https://forum.juce.com/t/totally-tearing-my-hair-out-trying-to-get-mainstage-to-find-components-built-with-juce/56725/8 "2023-06-19T16:19:45Z")

</div>

thanks I feel like I dont see those compiler warnings all the time … It’s a jassert when I encountered it.
