Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

OSX codesigning problem with libssl.dylib

Discussion in 'macOS' started by bgroves_ce, Aug 1, 2019.

  1. bgroves_ce

    bgroves_ce

    Joined:
    Jan 4, 2019
    Posts:
    7
    My team is preparing for an OSX Unity app release, for distribution outside of the AppStore.

    We are building on 2018.4.2.

    I am working through the code-signing process, but cannot get past this error:


    $ codesign --deep -f -v -s 'Developer ID Application: Cybernetic Entertainment (##########)' BUILD/Application.app


    BUILD/LuminantMusic.app: errSecInternalComponent


    In subcomponent: .../BUILD/Application.app/Contents/Frameworks/libssl.dylib


    I am new to OSX code signing, but have run through various walkthroughs, resources and tools, including UNSH/Unity-Apple-Distribution-Workflow and Unity Entitlements Tool. Also rebuilds and variations on the above command that include linking the entitlements. I seem to keep hitting this libssl.dylib error.

    Does anyone have insight to what I am missing? I appreciate any guidance.

    Much Thanks All.
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,851
    I'm no expert, but I believe you need to (separately) code-sign the dylib, and then code-sign the app bundle that contains it.
     
    bgroves_ce likes this.
  3. bgroves_ce

    bgroves_ce

    Joined:
    Jan 4, 2019
    Posts:
    7
    Thanks Joe (and for many other of your helpful posts here).

    No luck specifically signing
    BUILD/Application.app/Contents/Frameworks/libssl.dylib
     
  4. bgroves_ce

    bgroves_ce

    Joined:
    Jan 4, 2019
    Posts:
    7
    SweatyChair, PixelJ and JoeStrout like this.
  5. srilakshmim

    srilakshmim

    Joined:
    Sep 23, 2013
    Posts:
    12
    Hi

    I am facing the same issue, any update on how this is fixed?
    I did unlock the keychain

    @bgroves_ce

    Thanks
    Sri
     
  6. srilakshmim

    srilakshmim

    Joined:
    Sep 23, 2013
    Posts:
    12
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: file not in an order that can be processed (link edit information does not fill the __LINKEDIT segment):

    is the error, i tried setting the export path as well
     
  7. srilakshmim

    srilakshmim

    Joined:
    Sep 23, 2013
    Posts:
    12
    I am facing this issue only after prepping it for steam, if not I am able to codesign it