Search Unity

Compressed .APP becomes corrupted on other devices

Discussion in 'macOS' started by JACLEMGO, Jan 15, 2021.

  1. JACLEMGO

    JACLEMGO

    Joined:
    May 30, 2013
    Posts:
    30
    1. on different mac devices, we create a macOSX build (Unity 2020.2.1f1)
    2. Compress it
    3. AirDrop or AWS S3 or GDrive it to someone else
    4. They unzip it
    5. Right click open
    6. App is corrupt
    Screen Shot 2021-01-16 at 10.47.02 am.png

    On all the macs: Unity 2020.2.1f1 running on macOS Big Sur 11.1

    Tried this on macbook Pro, mac mini, 2 different iMac's.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    This happens because the browser puts a quarantine attribute on the app. We're actually looking at how to get around this, but a temporary workaround is to do "xattr -r -d com.apple.quarantine /path/to/game.app" on the command line after downloading and unzipping it.
     
    JACLEMGO and JoeStrout like this.
  3. JACLEMGO

    JACLEMGO

    Joined:
    May 30, 2013
    Posts:
    30
    @Taut
    Thanks mate, that solves it!
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    JACLEMGO likes this.
  5. JACLEMGO

    JACLEMGO

    Joined:
    May 30, 2013
    Posts:
    30