Search Unity

Is there a way to set minOS for OSX?

Discussion in 'macOS' started by andrew_ES, Aug 29, 2019.

  1. andrew_ES

    andrew_ES

    Joined:
    Apr 19, 2016
    Posts:
    20
    On iOS and tvOS this option is available in the project settings ("Target minimum iOS Version" and "Target minimum tvOS Version" respectively), but is absent in the PC, Mac & Linux settings.

    Does anyone know of a way to set this value?

    Andrew
     
  2. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    Info.plist. Check this out:
    Code (CSharp):
    1. <key>LSMinimumSystemVersion</key>
    2. <string>10.9.0</string>
     
  3. andrew_ES

    andrew_ES

    Joined:
    Apr 19, 2016
    Posts:
    20
    That will work, though I was hoping for a pre-build solution so I don't have to adjust it for every build I make.
     
  4. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    Create a build post-process script that does it automatically on every build. I think the default is 10.12.
     
    PixelJ and andrew_ES like this.