Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Building for Mac on PC

Discussion in 'macOS' started by KingOfWhales, Jul 30, 2020.

  1. KingOfWhales

    KingOfWhales

    Joined:
    Sep 14, 2019
    Posts:
    4
    I have built my game on Windows, however when I am having issues getting it to build on Mac.

    I have Mac support selected within the Unity hub and have set the Target Platform to be Mac OS X on the Build Setting menu.

    When I try to just move the project folder from windows to mac and run it in Unity on mac, I get a ton of Errors: https://media.discordapp.net/attach...831275790396/screen_shot_2020-07-30_at_11.png

    I am having to play telephone with somebody who actually has a mac and have built it and sent the file over. They are are saying that "it is .app but it can't be opened", and I do not know what to do from this point. Any advice?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,504
    Make sure to only move "Assets", "Packages", "Project Settings" folders. Don't move the "Library" folder.

    If you built it on Windows, it's likely the executable bit isn't set when extracted on a Mac. Try doing "chmod +x <appname.app>/Contents/MacOS/<appname>" (on Mac side).
     
    JoeStrout likes this.
  3. ScreenwaveMedia

    ScreenwaveMedia

    Joined:
    Jul 8, 2020
    Posts:
    15
    I've found it helps to zip the folder up before sending it anywhere, then unzipping it on the Mac.