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

Notarizing a 5.6.7f1 Game?

Discussion in 'macOS' started by asmaloney, Feb 10, 2020.

  1. asmaloney

    asmaloney

    Joined:
    Jul 25, 2019
    Posts:
    12
    Has anyone successfully notarized a 5.6.7f1-based game?

    I've ported a game to macOS and am just getting to the signing/notarization part.

    When I try to notarize using altool I'm getting the following errors:

    "issues": [
    {
    "severity": "error",
    "code": null,
    "path": "<game>.zip/<game>.app/Contents/Frameworks/MonoEmbedRuntime/osx/libMonoPosixHelper.dylib",
    "message": "The binary uses an SDK older than the 10.9 SDK.",
    "docUrl": null,
    "architecture": "x86_64"
    },
    {
    "severity": "error",
    "code": null,
    "path": "<game>.zip/<game>.app/Contents/Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib",
    "message": "The binary uses an SDK older than the 10.9 SDK.",
    "docUrl": null,
    "architecture": "x86_64"
    }
    ]

    Is there an entitlement I need to set? Or a setting I need to change somewhere?
     
  2. DavidErosa

    DavidErosa

    Joined:
    Aug 30, 2012
    Posts:
    41
    Sorry for not bringing you a solution. I just wanted to comment that we are facing the same issue using 2017.4.36f0, which is a LTS version. I doubt a 5.6 will get any solution for this...
     
  3. asmaloney

    asmaloney

    Joined:
    Jul 25, 2019
    Posts:
    12
    Thanks David.

    I actually see this as more of an Apple issue than a Unity one, but at the end of the day we are stuck in the middle.

    I've put in a support ticket to Apple, but I'm not expecting much.

    I don't even mind if Unity doesn't do an update for it - I just want a solution - any solution - that doesn't involve me spending a lot more time to update to the "latest-and-greatest" version of Unity just for this. The game is ready to go now as-is.
     
  4. metalmessias

    metalmessias

    Joined:
    Jul 26, 2018
    Posts:
    1
    I have same issue with 4.7.2f1 app :(
     
  5. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    Why do you want to do this? The game should run fine without it.
     
  6. asmaloney

    asmaloney

    Joined:
    Jul 25, 2019
    Posts:
    12
    Because you can't distribute a game in the Apple Store without notarization.

    And Steam may be requiring it (I've seen conflicting reports - they may have backed off on it).
     
  7. DavidErosa

    DavidErosa

    Joined:
    Aug 30, 2012
    Posts:
    41
    I think the problem is that the OS won't allow the game to run on Catalina without being notarized, it has nothing to do with the distribution platform. There's a "tick" on the Steam configuration dashboard to inform that the binary has been notarized, but I think it's more for informational porpouses than a distribution restriction from them.
     
  8. asmaloney

    asmaloney

    Joined:
    Jul 25, 2019
    Posts:
    12
    I've written up a hack - uh... workaround - I used to successfully notarize a 5.6.7f1 game:

    Notarizing Older Unity Games On macOS

    Note the disclaimer - this will allow it to pass notarization, but Apple Store certification will still fail. Seems to be no way around that and it's unclear what versions actually work. So this is useful if you want to notarize your older game for Steam or standalone distribution.
     
    manutoo and radiatoryang like this.
  9. DavidErosa

    DavidErosa

    Joined:
    Aug 30, 2012
    Posts:
    41
    I did something similar but using MachOView and editing the library by hand as well!
     
    radiatoryang likes this.