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. Dismiss Notice

Question App crashes on startup when "Mac App Store Validation" is checked

Discussion in 'macOS' started by JonBFS, Nov 11, 2021.

  1. JonBFS

    JonBFS

    Joined:
    Feb 25, 2019
    Posts:
    39
    When I create an app, I can play with no problem when the "Mac App Store Validation" is unchecked, but when I check the box and open the app, it crashes on startup.

    Are apps not directly runnable with this option checked?

    Build machine details:
    mac (Monterey 12.0.1)
    Unity 2020.3.22f1
     
  2. nasir_41

    nasir_41

    Joined:
    Dec 21, 2015
    Posts:
    8
    Yes that is what it seems. I have tried old unity versions too if Mac App Store Validation is true then you cannot open the .app directly on your MAC with 12.0.1 but you can sign and submit it to app store successfully.


    And after signing with certificate still you'll face this error. These are two errors which are displayed when you try to open it.

    "The application “APPNAME.app” can’t be opened."
    "APPNAME” is damaged and can’t be opened. Delete “APPNAME” and download it again from the App Store."
     
    JonBFS likes this.
  3. flashmandv

    flashmandv

    Joined:
    Mar 26, 2015
    Posts:
    154
    @nasir_41 have you found a solution?

    Same problem here with Unity 2020.3 LTS and Mac OS Monterey. Same app was delivered to Steam and runs on Monterey but when I build with app store validation - it fails to run. It hangs/freezes and when I force it to quit, I see the huge logs.
    Please check the attached file.
    Any help is welcome..I tried all possible signing options and certificates. The app went through notarization using the Developer ID Application certificate (3rd Party Mac Developer Application fails to notarize).
    But the app is not running even before signing and notarization (if I remove the app store validation checkbox it runs OK). It shows:
    “AppName” is damaged and can’t be opened. Delete “AppName” and download it again from the App Store.
    Please help
     

    Attached Files: