Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X



Found in

Issue ID




macOS builds no longer run when with a quarantine attribute due to incorrect codesigning



macOS builds no longer run when with a quarantine attribute due to incorrect codesigning

Repro Steps:
1. Download a mac editor (2021.1.x for instance)
2. Once downloaded, build a mac player
3. Move mac player to a different mac and try to run

Actual Result
A new error shows up (it started to happen around mi-December 2020 for me an a colleague) : "<Unity app> is damaged and can't be opened. You should move it to the Trash"

Expected Result
Before it started happening, another dialog was showing up and I could still open the app: "macOS cannot verify the developer of "<Unity app>. Are you sure you want to open it?"

Workarounds (you only need to apply one):
- After exporting the game on a path, resign the whole app bundle: "codesign --deep -s - -f path/to/"
- Remove the quarantine attribute from the command line: "xattr -r -d path/to/"
- User an GUI app to strip the flag: xattred

Comments (23)

  1. unitj75

    Sep 02, 2022 18:33

    Not fixed in 2021.3.8f1

  2. schema_unity

    Mar 18, 2022 15:37

    NOT fixed.

    Issue is still happening on 2021.1.11f and 2021.2.13f1.

    I upgraded from 2019.4.16f1, which did NOT have the issue. I did not make any changes to the code. There is no OnPostProgress in my code.

  3. mustafa_d

    Mar 02, 2022 09:55

    Why the hell do they say fixed when it's not FIXED!!!

  4. tahers_unity

    Oct 21, 2021 15:59

    I'm using 2020.3.18f1 and I'm still facing this issue. This is not fixed.

  5. asya_unity

    Sep 20, 2021 14:43

    I'm still seeing this issue in latest 2020.3.0 :(
    Especially after building unity in CI.

  6. KimZigbang

    Sep 17, 2021 02:41

    Still present in unity 2020.3.18f1

  7. z3nbstrd

    Jul 06, 2021 08:42

    Got it my problem figured out for now. Turns out it was caused by having "app store validation" turned on in the build settings.

  8. z3nbstrd

    Jul 05, 2021 06:25

    I'm going to say not fixed on 2020.3.12f1, though I'm not totally sure I'm having exactly the same problem. I'm building on a Mac for Mac, and when I try to run my game on that same Mac it asks me to log into the app store, saying that the app was purchased on another computer. I log in, and get the message '"app" is damaged and can't be opened. Delete "app" and download it again from the App Store.' The problem showed up after I went through all the registration nonsense to try and produce an iOS build.

  9. bbyford

    May 07, 2021 15:49

    not fixed for 2020.2.6f1

  10. x70x

    May 01, 2021 20:56

    I updated to 2020.3.0f1 but I'm still experiencing this issue.

Add comment

Log in to post comment