Search Unity

Command line build on Mac OS X

Discussion in 'Editor & General Support' started by zbyhoo, Jan 30, 2014.

  1. zbyhoo

    zbyhoo

    Joined:
    Nov 18, 2013
    Posts:
    17
    I want to do an automated building of Unity3d project for the continuous
    integration system. I have to build for Flash, Unity Web Player and iOS.
    Mac OS X seems like a perfect place, where you could do all of that.

    I'm trying to use Unity command line tool, but I'm getting an error:
    "FAILED TO establish the default connection to the WindowServer". Unity
    manual "Command line arguments" states, that option "-nographics"
    doesn't work on Mac OS X.

    So my question is: can I build on Mac OS X from command line at all?
    Also: can I build on Mac assuming, there is no graphic card?
     
    Claytonious likes this.
  2. TimK.Disney

    TimK.Disney

    Joined:
    Apr 12, 2013
    Posts:
    5
    We are running into this problem building asset bundles as we transition to using Jenkins for CI, as well. Any hope for adding the -nographics flag to get the client to run headless on OS X in the immediate future?
     
    Claytonious likes this.
  3. chase-cobb

    chase-cobb

    Joined:
    Aug 16, 2011
    Posts:
    51
    Last edited: Apr 18, 2014
    perevezentsev likes this.