Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Builds not running on mac.

Discussion in 'Editor & General Support' started by Major-Idea, Jan 17, 2013.

  1. Major-Idea

    Major-Idea

    Joined:
    Jul 26, 2012
    Posts:
    12
    I make a mac build on my pc and send it in a rar file but I fails to run on macs... How can I fix this? Help...
     
  2. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,204
    What errors are you getting?
     
  3. Major-Idea

    Major-Idea

    Joined:
    Jul 26, 2012
    Posts:
    12
    Double click the .app file but nothing happens afterwards...
     
  4. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,204
    Likely when it was decompressed, the app didn't get marked as an executable.

    Go to the terminal, and force it to be marked:

    chmod 755 /PathToYourApp/Contents/MacOS/ExecutableName

    An app on a Mac is really a folder that just looks like a package. So, right click on it, select "Show package contents" and it will open a new finder window that will let you browse the app folder. Go into MacOS to find the name of the actual executable. (The one I just looked at was named "unity")
     
  5. Major-Idea

    Major-Idea

    Joined:
    Jul 26, 2012
    Posts:
    12
    Thanks Jaimi! It works now :)