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

Running commandline build for OSX fails, while same command for win64 works

Discussion in 'macOS' started by DieterWarcave, Dec 2, 2019.

  1. DieterWarcave

    DieterWarcave

    Joined:
    Oct 10, 2018
    Posts:
    4
    Hi,

    So I'm trying to make a unity project build from the command line on teamcity to automate the process.

    for the windows build I run this command, which works perfectly fine.

    Code (CSharp):
    1. "[InstallPath]\Unity.exe" -quit -batchmode -nographics -projectPath "[ProjectPath]" -buildTarget Win64 -buildWindows64Player "[TargetPath].exe" -logFile log.txt
    but when I use the exact same command adjusted for OSX, the build is never created

    Code (CSharp):
    1. "[InstallPath]\Unity.exe" -quit -batchmode -nographics -projectPath "[ProjectPath]" -buildTarget OSXUniversal -buildOSX64Player "[TargetPath].app" -logFile log.txt
    It looks like it's importing the assets but it never builds afterwards, and building from editor directly does work fine, so I don't think it's a project issue.

    If you want the build log I attached it.

    Thanks in advance for any answer.
     

    Attached Files:

    • log.txt
      File size:
      0 bytes
      Views:
      538