Search Unity

Can I determine commandline last BuildTarget used?

Discussion in 'Getting Started' started by miwashi, May 14, 2019.

  1. miwashi

    miwashi

    Joined:
    Feb 2, 2016
    Posts:
    2
    I'd like to find out for use in a shell script if a project has been built with android or ios. How do I accomplish that without starting unity?
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    It is probably in the log file
     
  3. miwashi

    miwashi

    Joined:
    Feb 2, 2016
    Posts:
    2
    I think it might be stored in ./Library/EditorUserBuildSettings.asset, but that is a binary file.