1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

Mac OSX [SOLVED] Game reports as being damaged after being downloaded from storefront

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Beechbone, Feb 10, 2018.

  1. Beechbone

    Beechbone Member

    Joined:
    Jul 10, 2016
    Posts:
    15
    Hey,

    I have a problem with distributing my game outside of Mac App store. I imported my project to GMS2 and compiled it with a slight update, which fixed a bug that I had in the macOS version of the game. I'm distributing my game via itch.io and now after the file is downloaded and executed there is a system error displayed "this application is damaged and should be moved to the trash".

    Additional things to note. The file I'm uploading to itch.io is around 8MB, but the downloaded file from itch.io is around 21MB on the Mac.It's also no longer a .zip file, but an application.
    However, if the game is installed via itch.io desktop app instead of just download from the web, it works just fine.
    I'm pretty sure this is not GMS2-specific issue, as the same happens with a game compiled in GMS 1.4. And it was working when I first published the game like a year ago.

    I don't know where the issue lies. Can this be something with codesigning or some change in how downloaded files are handled in the OS? This seems like a Mac issue, and not necessarily itch.io issue, or maybe not stricly GameMaker, since the game works. Anybody has any advice?

    I'm running macOS High Sierra 10.13.3.

    The game's page is https://beechbone.itch.io/elevate

    Thanks,
     
  2. IndianaBones

    IndianaBones Member

    Joined:
    Jul 5, 2016
    Posts:
    2,318
    Could be the quarantine attribute being set by Mac OS.

    This command run from Terminal from the folder where the file is will reset it:

    xattr -d com.apple.quarantine [Your App Name].app/ (clears extended attributes)

    https://forum.yoyogames.com/index.php?posts/209490/

     
  3. Beechbone

    Beechbone Member

    Joined:
    Jul 10, 2016
    Posts:
    15
    This is gold. Thanks for the info.
    Sucks to have additional step for something that should just run, but it'll have to do.
     
    IndianaBones likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice