Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
10
Found in
Issue ID
1304455
Regression
Yes
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/game.app"
- Remove the quarantine attribute from the command line: "xattr -r -d com.apple.quarantine path/to/game.app"
- User an GUI app to strip the flag: xattred
Comments (25)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Default Preset application and Reset() method execution order is different when adding a Component via the Inspector versus calling Reset via the Component context menu
- Scene view is not outputting HDR when the "Use HDR Display Output" option is enabled, DX12 is selected as the Graphics API, and URP/HDRP is in use
- Sprite Atlas results in suboptimal packing even when "Allow Rotation" is enabled
- References placed in a UnityEvent change to the same reference when multi-selecting their GameObjects
- "ShadowCaster2D" Component doesn't work when the "Casting Source" is set to "Polygon Collider 2D"
yuli_volta
Mar 18, 2021 23:33
Ditto - still getting this on 2020.3.0f1
pamelacook
Mar 13, 2021 09:40
I did the following workaround to successfully open the app files on my M1 computer.
Remove the quarantine attribute from the command line: "xattr -r -d com.apple.quarantine path/to/game.app"
pamelacook
Mar 13, 2021 00:56
It's not working. I added the requested information on my forum post.
https://forum.unity.com/threads/having-problems-after-upgrading-2019-4-apps-to-2020-2-to-run-on-m1-and-intel-computers.1074106/
ab_unity726
Mar 12, 2021 11:09
same here the bug still present in unity 2020.3
beevik_
Mar 12, 2021 00:43
The release notes for 2020.3.0f1 say this bug was fixed. (https://unity3d.com/unity/whats-new/2020.3.0)
But even after updating to 2020.3.0f1, I am still seeing this bug.