Search Unity

Unity Notarization issues for OSx build

Discussion in 'OSX' started by srilakshmim, Oct 9, 2019.

  1. srilakshmim

    srilakshmim

    Joined:
    Sep 23, 2013
    Posts:
    12
    Hi All

    I am facing issue with Unity Notarization. I am able to codesign the app after zipping it ,and is uploaded for notarization. I am getting a invalid package with errors for macOS library files.

    "severity": "error",
    "code": null,
    "path": "My.zip/My.app/Contents/Plugins/steam_api.bundle/Contents/MacOS/libsteam_api.dylib",
    "message": "The signature of the binary is invalid.",
    "docUrl": null,
    "architecture": "i386"

    Thanks
    Sri
     
  2. srilakshmim

    srilakshmim

    Joined:
    Sep 23, 2013
    Posts:
    12
    "severity": "error",
    "code": null,
    "path": "DOMain.zip/DOMain.app/Contents/MacOS/UnityAnalytics.dylib",
    "message": "The binary is not signed.",
    "docUrl": null,
    "architecture": "x86_64"
     
  3. teamcap

    teamcap

    Joined:
    Jun 25, 2019
    Posts:
    1
    Hi!

    First delete all meta file from My.app then try sign libsteam_api.dylib file, and after this sign whole app
    ie.:

    codesign --deep --force --verify --verbose --timestamp --options runtime --entitlements "My.entitlements" --sign "Developer ID Application : YourCompanyName" "My.app/Contents/Plugins/steam_api.bundle/Contents/MacOS/libsteam_api.dylib""



    codesign --deep --force --verify --verbose --timestamp --options runtime --entitlements "My.entitlements" --sign "Developer ID Application : YourCompanyName " "My.app"
     
unityunity