Codesigning doesn't work anymore

Discussion in 'Mac / Hackintosh' started by Sota Kunaii, Feb 14, 2024.

  1. Sota Kunaii

    Sota Kunaii Newbie

    Joined:
    Apr 20, 2023
    Messages:
    21
    Likes Received:
    1
    Hi there,

    the codesigning for my SWAM Audio Modeling VSTs doesn't work anymore. When I try to codesign the downloaded VSTs from the sistersite I type this as described in the download's attached info:

    sudo xattr -cr

    sudo xattr -r -d com.apple.quarantine

    sudo codesign --force --deep --sign -



    but then I get this:

    Not enough arguments for option -c. Expected at least 1 but got 0


    usage: xattr [-l] [-r] [-s] [-v] [-x] file [file ...]

    xattr -p [-l] [-r] [-s] [-v] [-x] attr_name file [file ...]

    xattr -w [-r] [-s] [-x] attr_name attr_value file [file ...]

    xattr -d [-r] [-s] attr_name file [file ...]

    xattr -c [-r] [-s] file [file ...]


    The first form lists the names of all xattrs on the given file(s).

    The second form (-p) prints the value of the xattr attr_name.

    The third form (-w) sets the value of the xattr attr_name to the string attr_value.

    The fourth form (-d) deletes the xattr attr_name.

    The fifth form (-c) deletes (clears) all xattrs.


    options:

    -h: print this help

    -l: print long format (attr_name: attr_value and hex output has offsets and

    ascii representation)

    -r: act recursively

    -s: act on the symbolic link itself rather than what the link points to

    -v: also print filename (automatic with -r and with multiple files)

    -x: attr_value is represented as a hex string for input and output

    Not enough arguments for option -d. Expected at least 2 but got 1


    usage: xattr [-l] [-r] [-s] [-v] [-x] file [file ...]

    xattr -p [-l] [-r] [-s] [-v] [-x] attr_name file [file ...]

    xattr -w [-r] [-s] [-x] attr_name attr_value file [file ...]

    xattr -d [-r] [-s] attr_name file [file ...]

    xattr -c [-r] [-s] file [file ...]


    The first form lists the names of all xattrs on the given file(s).

    The second form (-p) prints the value of the xattr attr_name.

    The third form (-w) sets the value of the xattr attr_name to the string attr_value.

    The fourth form (-d) deletes the xattr attr_name.

    The fifth form (-c) deletes (clears) all xattrs.


    options:

    -h: print this help

    -l: print long format (attr_name: attr_value and hex output has offsets and

    ascii representation)

    -r: act recursively

    -s: act on the symbolic link itself rather than what the link points to

    -v: also print filename (automatic with -r and with multiple files)

    -x: attr_value is represented as a hex string for input and output

    Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign

    codesign -v [-v*] [-R=<req string>|-R <req file path>] path|[+]pid ... # verify

    codesign -d [options] path ... # display contents

    codesign -h pid ... # display hosting paths



    When I type this instead: sudo codesign --force --deep --sign - and then drag the VST I want to codesign onto the terminal I get this:

    error: The specified item could not be found in the keychain.


    Have you got an idea, why it doen't work anymore?
    It worked before. Just out of a sudden it doesn't.

    I moved my cracked SWAM Modelling VSTs to an external hard drive and now Ableton Live won't scan them anymore. It says "cannot be opened because Apple cannot search for malware in it".
    I moved the VSTs back, but now the problem persists.
    I reinstalled everything, but it still doesn't work. Only the standalone I could open by rightclicking and "open". But I don't know how to apply this "trick" to the VSTs.

    Please help!
    All the best


     
    Last edited by a moderator: Feb 14, 2024
  2.  
  3. Choosename

    Choosename Platinum Record

    Joined:
    Nov 24, 2023
    Messages:
    512
    Likes Received:
    214
    Location:
    Milky way
    You have to write the files after this codes, for example:

    sudo xattr -cr /Library/Audio/Plug-Ins/VST3/XXX.vst3

    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/VST3/XXX.vst3

    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/VST3/XXX.vst3

    Be carefull and change this - symbols

    Go to the "Certificates" section and see if developer ID is out of date
     
    Last edited: Feb 14, 2024
  4. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    7,319
    Likes Received:
    3,223
    in Terminal, this batch of commands below will codesign every plugin on the machine (in usual locations) all at once. It takes a little while, just let it do its thing.

    cd /Library/Audio/Plug-Ins/

    find . -name "*.bundle" -execdir sudo xattr -cr \;
    find . -name "*.VST" -execdir sudo xattr -cr \;
    find . -name "*.vst3" -execdir sudo xattr -cr \;
    find . -name "*.component" -execdir sudo xattr -cr \;
    find . -name "*.dpm" -execdir sudo xattr -cr \;
    find . -name "*.bundle" -execdir sudo codesign -f -s - {} \;
    find . -name "*.VST" -execdir sudo codesign -f -s - {} \;
    find . -name "*.vst3" -execdir sudo codesign -f -s - {} \;
    find . -name "*.component" -execdir sudo codesign -f -s - {} \;
    find . -name "*.dpm" -execdir sudo codesign -f -s - {} \;


    It might be worth a mention, there was a rather long Windows thread on here with people reporting the same thing about malware in SWAM. I think it's probably nothing, but worth a mention to you, just in case.

    If you want to disable gatekeeper:

    Run the following command: sudo spctl --master-disable . Enter your administrator password when requested. Gatekeeper is now disabled permanently. To turn it back on you just use enable instead of disable. Do you have SIP enabled?
     
    Last edited: Feb 14, 2024
  5. Sota Kunaii

    Sota Kunaii Newbie

    Joined:
    Apr 20, 2023
    Messages:
    21
    Likes Received:
    1
    OMG thank you so much! That worked! what do you mean that I have to change the - symbol? And which certificates section do you mean? Is that somewhere on the mac?
    But now I wonder if the code to codesign everything at once doesn't work anymore, at least for these SWAM VSTs...
    But with your solution I can at least codesign them one by one.
     
  6. Sota Kunaii

    Sota Kunaii Newbie

    Joined:
    Apr 20, 2023
    Messages:
    21
    Likes Received:
    1
    Thanks a lot clone! Unfortunately it doesn't seem to work. In the terminal it says that it replaced all the existing signature. But still I cannot open the VSTs.
    I wonder if the code to codesign everything at once doesn't work anymore, at least for these SWAM VSTs...
    WHatfor would I disable the gatekeeper? I've heard about that before, but what advantages does that give me?
    With the windows thread you mean that there might be some helpful information over there for me?
     
  7. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    7,319
    Likes Received:
    3,223
    Best Answer
    what MacOS are you on? There's no way codesigning does not work. Codesigner.app might no longer work for you. But all the terminal commands have not changed at all. install xcode, put this in terminal: xcode-select --install


    When I mentioned the Windows thread, there was a PC version of SWAM uploaded, People were saying it was infected per Virus Total scan.


    Gatekeeper:

    How to Completely Disable Gatekeeper in macOS
    BYMATT MOORE
    PUBLISHED NOV 8, 2021

    Gatekeeper gets pretty annoying when it won't let you open a Mac app you know is trustworthy. We'll show you how to disable it using Terminal.
    https://www.makeuseof.com/how-to-disable-gatekeeper-mac/. You don't have to do it, but it sounded like that is what you were asking about.


    Use this batch of commands for SWAM: Copy the whole thing into terminal...

    ...::: Codesign All apps :::...
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Cello/SWAM\ Cello\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Cello/uninstall.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Clarinets/SWAM\ Bass\ Clarinet\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Clarinets/SWAM\ Clarinet\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Double\ Bass/SWAM\ Double\ Bass\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ Bassoon\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ Contrabassoon\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ English\ Horn\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ Oboe\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Alto\ Flute\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Bass\ Flute\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Flute\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Piccolo\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ Bass\ Tuba.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ Euphonium.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ French\ Horn\ Bb.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ French\ Horn\ F.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ Tuba\ Eb.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Alto\ Sax\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Baritone\ Sax\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Soprano\ Sax\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Tenor\ Sax\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Alto\ Trombone.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Bass\ Trombone.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Double\ Bass\ Trombone.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Tenor\ Bass\ Trombone.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Tenor\ Trombone.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Flugelhorn.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Flugelhorn\ Eb.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Piccolo\ Trumpet.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Trumpet.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Trumpet\ C.app
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Viola/SWAM\ Viola\ 3.app;
    sudo xattr -cr /Applications/Audio\ Modeling/SWAM\ Violin/SWAM\ Violin\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Cello/SWAM\ Cello\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Cello/uninstall.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Clarinets/SWAM\ Bass\ Clarinet\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Clarinets/SWAM\ Clarinet\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Double\ Bass/SWAM\ Double\ Bass\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ Bassoon\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ Contrabassoon\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ English\ Horn\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ Oboe\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Alto\ Flute\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Bass\ Flute\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Flute\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Piccolo\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ Bass\ Tuba.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ Euphonium.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ French\ Horn\ Bb.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ French\ Horn\ F.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ Tuba\ Eb.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Alto\ Sax\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Baritone\ Sax\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Soprano\ Sax\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Tenor\ Sax\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Alto\ Trombone.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Bass\ Trombone.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Double\ Bass\ Trombone.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Tenor\ Bass\ Trombone.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Tenor\ Trombone.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Flugelhorn.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Flugelhorn\ Eb.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Piccolo\ Trumpet.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Trumpet.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Trumpet\ C.app
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Viola/SWAM\ Viola\ 3.app;
    sudo xattr -r -d com.apple.quarantine /Applications/Audio\ Modeling/SWAM\ Violin/SWAM\ Violin\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Cello/SWAM\ Cello\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Cello/uninstall.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Clarinets/SWAM\ Bass\ Clarinet\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Clarinets/SWAM\ Clarinet\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Double\ Bass/SWAM\ Double\ Bass\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ Bassoon\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ Contrabassoon\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ English\ Horn\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Double\ Reeds/SWAM\ Oboe\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Alto\ Flute\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Bass\ Flute\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Flute\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Flutes/SWAM\ Piccolo\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ Bass\ Tuba.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ Euphonium.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ French\ Horn\ Bb.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ French\ Horn\ F.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Horns\ and\ Tubas/SWAM\ Tuba\ Eb.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Alto\ Sax\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Baritone\ Sax\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Soprano\ Sax\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Saxophones/SWAM\ Tenor\ Sax\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Alto\ Trombone.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Bass\ Trombone.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Double\ Bass\ Trombone.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Tenor\ Bass\ Trombone.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trombones/SWAM\ Tenor\ Trombone.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Flugelhorn.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Flugelhorn\ Eb.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Piccolo\ Trumpet.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Trumpet.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Trumpets/SWAM\ Trumpet\ C.app
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Viola/SWAM\ Viola\ 3.app;
    sudo codesign --force --deep --sign - /Applications/Audio\ Modeling/SWAM\ Violin/SWAM\ Violin\ 3.app;
    ...::: Codesign All Plugs :::...
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Violin\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Viola\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Tuba\ Eb.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Trumpet.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Trumpet\ C.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Tenor\ Trombone.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Tenor\ Sax\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Tenor\ Bass\ Trombone.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Soprano\ Sax\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Piccolo\ Trumpet.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Piccolo\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Oboe\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ French\ Horn\ F.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ French\ Horn\ Bb.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Flute\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Flugelhorn.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Flugelhorn\ Eb.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Euphonium.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ English\ Horn\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Double\ Bass\ Trombone.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Double\ Bass\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Contrabassoon\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Clarinet\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Cello\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Bassoon\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Tuba.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Trombone.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Flute\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Clarinet\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Baritone\ Sax\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Alto\ Trombone.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Alto\ Sax\ 3.component;
    sudo xattr -cr /Library/Audio/Plug-Ins/Components/SWAM\ Alto\ Flute\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Violin\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Viola\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Tuba\ Eb.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Trumpet.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Trumpet\ C.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Tenor\ Trombone.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Tenor\ Sax\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Tenor\ Bass\ Trombone.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Soprano\ Sax\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Piccolo\ Trumpet.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Piccolo\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Oboe\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ French\ Horn\ F.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ French\ Horn\ Bb.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Flute\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Flugelhorn.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Flugelhorn\ Eb.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Euphonium.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ English\ Horn\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Double\ Bass\ Trombone.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Double\ Bass\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Contrabassoon\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Clarinet\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Cello\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Bassoon\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Tuba.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Trombone.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Flute\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Clarinet\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Baritone\ Sax\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Alto\ Trombone.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Alto\ Sax\ 3.component;
    sudo xattr -r -d com.apple.quarantine /Library/Audio/Plug-Ins/Components/SWAM\ Alto\ Flute\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Violin\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Viola\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Tuba\ Eb.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Trumpet.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Trumpet\ C.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Tenor\ Trombone.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Tenor\ Sax\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Tenor\ Bass\ Trombone.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Soprano\ Sax\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Piccolo\ Trumpet.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Piccolo\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Oboe\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ French\ Horn\ F.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ French\ Horn\ Bb.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Flute\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Flugelhorn.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Flugelhorn\ Eb.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Euphonium.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ English\ Horn\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Double\ Bass\ Trombone.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Double\ Bass\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Contrabassoon\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Clarinet\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Cello\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Bassoon\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Tuba.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Trombone.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Flute\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Bass\ Clarinet\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Baritone\ Sax\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Alto\ Trombone.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Alto\ Sax\ 3.component;
    sudo codesign --force --deep --sign - /Library/Audio/Plug-Ins/Components/SWAM\ Alto\ Flute\ 3.component;
     
  8. Sota Kunaii

    Sota Kunaii Newbie

    Joined:
    Apr 20, 2023
    Messages:
    21
    Likes Received:
    1
    wow, that leaves me utterly satisfied, thanks!
    Would you agree that it is enough to install one type of pluginformat and that AU is the best choice for mac? I was actually wondering before if one needs to have vst, vst3, aax and au...
    I'm on Ventura. It must be some other kind of problem, but who knows what.‍♂️
    x-code I have already installed it seems. I get this:
    xcode-select: error: command line tools are already installed, use "Software Update" in System Settings to install updates
     
  9. Choosename

    Choosename Platinum Record

    Joined:
    Nov 24, 2023
    Messages:
    512
    Likes Received:
    214
    Location:
    Milky way
    I was meaning to be carefull with symbols and characters, there is another - symbol that can confuse the terminal command.
    If it lets you to codesign now, forget what I said about certificates.

    Try this batch of commands solution of @clone should work
     
  10. OffshoreBanking

    OffshoreBanking Producer

    Joined:
    Jan 5, 2021
    Messages:
    164
    Likes Received:
    144
    Nice thread with concise and valuable informations by knowledgeable members.

    I remember downloading Batchmod, Onyx and opening Terminal for the first time with no idea of what I was doing.

    This is pretty comprehensive and would have saved me a lot of headaches at the time.
    Imma save a few of theses commands just in case.

    Nice job :mates:
     
  11. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    7,319
    Likes Received:
    3,223
    I use Logic primarily, but sometimes REAPER. I only keep the AU format .component files. I delete everything that gets put in the stupid AVID/digidesign folders, Clap format, vst, vst3. They are a waste of ssd space. If I was to happen across some plugin I would not get an AU of, I would load it into BlueCat's Patchwork. For me, the only real reason I would keep VST format plugins, is because Native Instruments decided somewhere along the way that Komplete Kontrol will not load AU plugins. On.A.Mac. I check those folders periodically, because I usually want to install only AU, but a few slip through the cracks. Some devs just install all formats without any other option.
     
  12. Sota Kunaii

    Sota Kunaii Newbie

    Joined:
    Apr 20, 2023
    Messages:
    21
    Likes Received:
    1
    thanks a lot for your answers!! =)
     
  13. Choosename

    Choosename Platinum Record

    Joined:
    Nov 24, 2023
    Messages:
    512
    Likes Received:
    214
    Location:
    Milky way
    I usually install AU + VST3 version of plugins, if there is no VST3 version, I choose VST instead. So I use Logic and other DAWs too. Cheers!
     
  14. ElMoreno

    ElMoreno Kapellmeister

    Joined:
    Jan 13, 2012
    Messages:
    372
    Likes Received:
    57
    Hello friends,
    who can tell me the difference between these two commands?
    Do they produce the same effect in Terminal? :cool:

    1. sudo xattr -dr com.apple.quarantine
    2. sudo xattr -r -d com.apple.quarantine
     
  15. Choosename

    Choosename Platinum Record

    Joined:
    Nov 24, 2023
    Messages:
    512
    Likes Received:
    214
    Location:
    Milky way
    Is that an exam?

    man xattr
     
  16. ElMoreno

    ElMoreno Kapellmeister

    Joined:
    Jan 13, 2012
    Messages:
    372
    Likes Received:
    57
    :) Aha ha aha ha aha ha...

    Absolutely not.
    It's just because someone told me they're different (but without telling me why), so I want to avoid inserting the wrong string into Terminal and doing some irreparable damage. :winker:
     
  17. ElMoreno

    ElMoreno Kapellmeister

    Joined:
    Jan 13, 2012
    Messages:
    372
    Likes Received:
    57
    Well, so does no one seems to have the answer? :woot:
     
    Last edited: Feb 19, 2024
  18. fusomusica

    fusomusica Newbie

    Joined:
    Mar 14, 2024
    Messages:
    1
    Likes Received:
    0
    hi guys! I'm having an issue with codesign (first time doing + first time having a macbook) and I need some help.

    I was trying to install a plugin using the same codesign that Sata posted but I think I made a mistake. I used the VST3 FL Studio plugin folder as the final path in terminal like the instructions said and everytime I got a new plugin I have to refresh the plugin list, but after I used the codesign on terminal the plugin list doesn't open anymore and crashes my DAW...

    is there any way to revert the codesign I did on terminal (sudo xattr -cr etc etc) on this specific folder to maybe plugin list open again?

    literally created an account here to seek some help, if someone know anything about it please let me know. Sorry for the english tho, is not my native language.


     
  19. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    7,319
    Likes Received:
    3,223
    use the MacOS finder, and navigate to /Library/Audio/Plug-Ins/VST3 and delete the plugin you put there. Check /Library/Audio/Plug-Ins/vst to see if a copy is in there.

    Repeat your original steps to reinstall it correctly this time. When you delete or move a file, it's code signature goes with it. Reboot your Mac after you do the changes. Not always, just this time. If FL crashes again with the plugin installed, delete the plugin from both locations, reboot, and come back, because the plugin is the problem and not your code signature.

    An incorrectly codesigned app or plugin should never crash your machine or DAW. it just will not be allowed to run. If it does crash anything after code signing it, that's because the plugin is not compatible or some other problem.
     
Loading...
Similar Threads - Codesigning doesn't anymore Forum Date
Codesigning for SIP enabled! Mac / Hackintosh Mar 18, 2024
kontakt libraries that doesn't work Kontakt Oct 15, 2024
After downloading Jade 1.1, and adding it to Kontakt, it doesn't open up the instruments Kontakt Sep 26, 2024
Chroma Doesn't Work Software Sep 6, 2024
Omnisphere standalone works, vst doesn't (Ableton) Omnisphere Jul 6, 2024
Loading...