Make gatekeeper ignore edited file

Discussion in 'macOS' started by rockstar57, Dec 7, 2018.

  1. rockstar57

    rockstar57 MDL Novice

    Dec 29, 2011
    8
    0
    0
    This is on macOS Mojave 10.14.1
    "I've" edited a file in one of my apps. This makes gatekeeper angry and refuses to open the app any more. I've removed the com.apple.quarantine xattr as per usual, but this does not appease gatekeeper. Short of disabling gatekeeper entirely. Is there anything else I can try? I don't have this issue with other apps.
     
  2. rockstar57

    rockstar57 MDL Novice

    Dec 29, 2011
    8
    0
    0
    Maybe this isn't exactly a Gatekeeper issue? I tried:

    Code:
    spctl --add /Path/To/Application.app
    That did not work.

    My error message is:

    Code:
    Termination Reason:    DYLD, [0x5] Code Signature
    Dyld Error Message:
      Library not loaded: @rpath/Sparkle.framework/Versions/A/Sparkle
      Referenced from: /Applications/app.app/Contents/MacOS/app
      Reason: no suitable image found.  Did find:
    code signature in (/Applications/app) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
    Has anyone seen this before? Google returns very little.
     
  3. Sajjo

    Sajjo MDL Addicted

    Feb 6, 2018
    761
    824
    30
    @rockstar57
    FYI: macOS Mojave 10.14.2 is official released
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. rockstar57

    rockstar57 MDL Novice

    Dec 29, 2011
    8
    0
    0
    10.14.2 didn't change anything for me. I've concluded this is not a Gatekeeper issue at least. Does not seem solvable. Abandoning this project for now :(
     
  5. Sajjo

    Sajjo MDL Addicted

    Feb 6, 2018
    761
    824
    30
    I´m not a user of OS X other than testing, but, I have similar files (edited) that, for me at least, I had to revert to OS X 10.11 to make use of them.
    Since I use OS X in VMware it is kinda easy, for me at least.

    I don´t know if that helps or give some ideas.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. BillyGuy

    BillyGuy MDL Novice

    Apr 14, 2017
    2
    0
    0
    Try to codesign your application :
    sudo codesign -f -s - --deep /Applications/xxxxx.app
    If you change the application icon for exemple, and you want to refresh, you can do afterwards :
    touch /Applications/xxxxx.app
    Good luck :)
     
  7. Actionman1979

    Actionman1979 MDL Novice

    Jan 7, 2019
    6
    0
    0
    Sounds promising